C++ compile-time enum to string, iteration, in a single header file
Additions
BETTER_ENUMS_DECLARE_STD_HASH
for declaring std::hash
specializations (#77, Sven Scharmentke).BETTER_ENUMS_CLASS_ATTRIBUTE
for injecting tokens into the class declaration (#80, Michael Ernst).Bugs fixed
-Wold-style-cast
on Clang (#74, Felipe Lema).-Wattributes
on GCC ≥ 7 (#79, CJ Smith).BETTER_ENUMS_IGNORE_ATTRIBUTES_*
definitions on Clang (#81, Jan-Gerd Tenberge).Additions
constexpr
support on clang-cl (#26, Zsolt Parragi).constexpr
support on VS 2017 (#47, Zsolt Parragi)._to_index
, _from_index
, and related functions (#59, Piotr Kosek).wchar_t*
(#44, @codercheny).Bugs fixed
enum class
(#41, Anuradha Dissanayake).constexpr
by VS 2017 (#53, @D4koon).Miscellaneous
enum.h
(#72, @Xeverous).