3 ms·
Ouch, I first thought this was the example of how to do these things _before_ reflection is introduced to C++ The for loop required to do enum to string really
by Aardwolf 2y ago
Ouch, I first thought this was the example of how to do these things _before_ reflection is introduced to C++
The for loop required to do enum to string really makes it
- einpoklum 2y agoYou can use `.name()` and that also works fine. Remember std::string is a heap-based thing.