Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Stringify enum
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64 #include <iostream> #define STRIGIFY_GEMMIMPL_ENUM( enumName ) # enumName + strlen("Enum::") enum class Enum : uint32_t { None = 0, // There is no appropriate meta command implementation. A, B, C, Count }; int main() { std::cout << STRIGIFY_GEMMIMPL_ENUM(Enum::None) << std::endl; }
run
|
edit
|
history
|
help
-1
Wide string conversion with multibyte chars and locale
What is the fastest/most efficient way to find the highest set bit (msb) in an integer in C?
CStringA
derived_tempalte
Override keyword.cpp
Hangman
1337
parantheses matching using stack in C++ - test
hangman
#22.2