Belay the C++ | A weekly blog talking about (usually bad) practices in C++
Best ways to convert an enum to a string | Belay the C++
现代 C++ 的枚举(到字符串、从字符串、迭代)的静态反射,适用于任何枚举类型,无需任何宏或样板代码
https://github.com/Neargye/magic_enum
2023-10-28 18:12:10
Belay the C++ | A weekly blog talking about (usually bad) practices in C++
Best ways to convert an enum to a string | Belay the C++
现代 C++ 的枚举(到字符串、从字符串、迭代)的静态反射,适用于任何枚举类型,无需任何宏或样板代码
https://github.com/Neargye/magic_enum