| 27 | #include <magic_enum/magic_enum_iostream.hpp> |
| 28 | |
| 29 | enum class AnimalFlags : std::uint64_t { HasClaws = 1 << 10, CanFly = 1 << 20, EatsFish = 1 << 30, Endangered = std::uint64_t{1} << 40 }; |
| 30 | // Add specialization `is_flags` to define that enum are flags. |
| 31 | template <> |
| 32 | struct magic_enum::customize::enum_range<AnimalFlags> { |
nothing calls this directly
no outgoing calls
no test coverage detected