mirror of
https://github.com/aantron/better-enums.git
synced 2025-12-07 01:06:42 +08:00
This makes C++98 and C++11 Better Enums fully compatible by default. If the user defines BETTER_ENUMS_FORCE_STRICT_CONVERSION before including enum.h, it is necessary to prefix enum constants in switch cases with '+', but Better Enums are not implicitly convertible to integers. |
||
|---|---|---|
| .. | ||
| 1-basic.cc | ||
| 2-iterate.cc | ||
| 3-switch.cc | ||
| 4-constexpr.cc | ||
| 5-containers.cc | ||
| 6-traits.cc | ||
| 7-bitset.cc | ||
| 8-constexpr-iterate.cc | ||
| Makefile | ||