Neargye/nameof
Nameof operator for modern C++, simply obtain the name of a variable, type, function, macro, and enum
65 best points · 25 comments · 4 Hacker News posts · 2,367 GitHub stars · View on GitHub
Hacker News discussions
- Show HN: Nameof Operator for Modern C++ (65 points, 23 comments, by neargye, 2019-03-24)
- Nameof operator for modern C++, simple name of variables, types, functions, etc. (2 points, 1 comments, by starbugs, 2019-03-21)
- Nameof Operator for Modern C++ (2 points, 1 comments, by neargye, 2019-03-23)
- Nameof: Simply Obtain The Name Of A C++ Variable, Type, Function, Or Macro (2 points, 0 comments, by optimalsolver, 2022-05-11)