mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-09 23:34:23 +00:00
New enum-flags API (#120)
This commit is contained in:
parent
6a1db3b8b6
commit
aecf0db795
7 changed files with 336 additions and 477 deletions
|
|
@ -197,8 +197,6 @@ enum class Color { RED = 2, BLUE = 4, GREEN = 8 };
|
|||
|
||||
* Before use, read the [limitations](doc/limitations.md) of functionality.
|
||||
|
||||
* For the small enum use the API from the namespace `magic_enum`, and for enum-flags use the API from the namespace `magic_enum::flags`.
|
||||
|
||||
## Integration
|
||||
|
||||
* You should add the required file [magic_enum.hpp](include/magic_enum.hpp).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue