
"Paul Mensonides" <pmenso57@comcast.net> wrote in message
I'm against just about anything that attempts to make a macro invocation look more like regular code. This is nothing but a workaround for an editor (of all things).
So what's wrong with a workaround for an editor?
The macro invocation is not a declaration, it does not fit into the syntax model of C++, and it should not be made to look like it does--regardless of what it expands to.
Aren't most macros used to expand into a legal c++ code fragment ([meta]function call, class/template definition, etc.)? As such, why shouldn't they be designed to fit nicely into the c++ syntax? Otherwise macros are inconvenient to use, and this is just one more argument for those who claim macros should be avoided at any cost. Regards, Arkadiy