1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-10 23:44:29 +00:00
Commit graph

6 commits

Author SHA1 Message Date
neargye
427a47394f * Remove MAGIC_ENUM_ENABLE_NONASCII
* Optimize template instantiations
* Remove auto is_flags
* Change flags API
2023-05-21 04:08:07 +04:00
Ed Catmur
5367f5183c
Support gcc -fno-pretty-templates (#258)
https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html#index-fno-pretty-templates

The gcc option -fno-pretty-templates changes the __PRETTY_FUNCTION__ from e.g.
"auto n() [with E = E]" to "auto n<E>()" (more like MSVC).

Pass the entire __PRETTY_FUNCTION__ / __FUNCSIG__ to pretty_name(), and truncate it there, checking the last character if necessary to determine the format used.
2023-05-13 13:15:23 +04:00
neargye
8bd403f888 fix #216, fix #199 2022-11-07 21:00:16 +04:00
neargye
0fec11eda3 fix build 2022-08-13 18:12:55 +04:00
neargye
cd1ec187e6 fix #157 2022-08-13 18:09:42 +04:00
neargye
b5116d078d add aliases test 2022-08-13 17:51:46 +04:00