1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-09 23:34:23 +00:00
magic_enum/include
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
..
magic_enum.hpp Support gcc -fno-pretty-templates (#258) 2023-05-13 13:15:23 +04:00
magic_enum_containers.hpp add constexpr containers (#187) 2023-01-17 18:59:37 +04:00
magic_enum_format.hpp Add const to std::formatter method (#260) 2023-05-13 03:43:06 +04:00
magic_enum_fuse.hpp v0.8.2 2022-12-09 15:52:24 +04:00
magic_enum_switch.hpp v0.8.2 2022-12-09 15:52:24 +04:00