Neargye / magic_enum

Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code
MIT License
4.98k stars 444 forks source link

enum_flags_name: return name for 0, if it exists #376

Open masbug opened 2 months ago

masbug commented 2 months ago

Added constexpr that returns name for the value zero, if it exists.