1
0
Fork 0
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:
neargye 2020-06-26 21:34:40 +05:00
parent 709e9a7acb
commit 2b0dcc9cfd

View file

@ -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