mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-09 23:34:23 +00:00
fix readme
This commit is contained in:
parent
0836f08581
commit
f08837e1ae
1 changed files with 2 additions and 2 deletions
|
|
@ -141,7 +141,7 @@ enum Color { RED = 2, BLUE = 4, GREEN = 8 };
|
|||
|
||||
* Checks whether type is an Unscoped enumeration.
|
||||
```cpp
|
||||
enum сolor { red, green, blue };
|
||||
enum color { red, green, blue };
|
||||
enum class direction { left, right };
|
||||
|
||||
magic_enum::is_unscoped_enum<color>::value -> true
|
||||
|
|
@ -154,7 +154,7 @@ enum Color { RED = 2, BLUE = 4, GREEN = 8 };
|
|||
|
||||
* Checks whether type is an Scoped enumeration.
|
||||
```cpp
|
||||
enum сolor { red, green, blue };
|
||||
enum color { red, green, blue };
|
||||
enum class direction { left, right };
|
||||
|
||||
magic_enum::is_scoped_enum<color>::value -> false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue