So there is nothing technically impossible about having the access to macro names as a compiler-specific extension, it's just that there is no much demand for it.
So there is nothing technically impossible about having the access to macro names as a compiler-specific extension, it's just that there is no much demand for it.
It's not probably reflected to the language because C++ fears reflection in general and hates macros in particular.
Macros aren't a particular case of reflection... And at least in the way they're done in C++, they're a big source of bugs / spaghetti.
But only wicked gods would banish us from paradise
Why do they fear our power?
Because evil is what they are.
They got rid of "good concepts" because when attempts were made to implement them the build for a simple "hello world" was over 15 hours and the implementers didn't think they could optimize that enough to have acceptable build times. As such I wouldn't call what they got rid of good concepts - to be good it needs to be nice not just in an academic paper, but also in the real world.