1
0
Fork 0
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:
Komachin 2021-08-09 15:44:30 +01:00 committed by GitHub
parent 5d6e0e7707
commit 38f86e4d09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 393 additions and 3 deletions

View file

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