#include <iostream>#include <string>#include <magic_enum/magic_enum.hpp>#include <magic_enum/magic_enum_iostream.hpp>
Go to the source code of this file.
Classes | |
| struct | magic_enum::customize::enum_range< AnimalFlags > |
Enumerations | |
| enum | AnimalFlags : std::uint64_t { AnimalFlags::HasClaws = 1 << 10, AnimalFlags::CanFly = 1 << 20, AnimalFlags::EatsFish = 1 << 30, AnimalFlags::Endangered = std::uint64_t{1} << 40 } |
Functions | |
| int | main () |
|
strong |
| Enumerator | |
|---|---|
| HasClaws | |
| CanFly | |
| EatsFish | |
| Endangered | |
Definition at line 29 of file enum_flag_example.cpp.
| int main | ( | ) |
Definition at line 36 of file enum_flag_example.cpp.