mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-09 23:34:23 +00:00
Added support for non-ASCII characters (UNIX/Linux) (#95)
This commit is contained in:
parent
5d6e0e7707
commit
38f86e4d09
8 changed files with 393 additions and 3 deletions
|
|
@ -56,6 +56,12 @@
|
|||
#define MAGIC_ENUM_RANGE_MAX 255
|
||||
```
|
||||
|
||||
* To add support for non-ASCII enumeration identifier, use special macros:
|
||||
```cpp
|
||||
#define MAGIC_ENUM_ENABLE_NONASCII
|
||||
#include <magic_enum.hpp>
|
||||
```
|
||||
|
||||
## `enum_cast`
|
||||
|
||||
```cpp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue