mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-09 23:34:23 +00:00
update readme
This commit is contained in:
parent
709e9a7acb
commit
2b0dcc9cfd
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ Header-only C++17 library provides static reflection for enums, work with any en
|
|||
|
||||
```cpp
|
||||
// For example color enum.
|
||||
enum Color { RED = 2, BLUE = 4, GREEN = 8 };
|
||||
enum class Color { RED = 2, BLUE = 4, GREEN = 8 };
|
||||
```
|
||||
|
||||
* Enum value to string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue