
19 Jul
2005
19 Jul
'05
8:42 p.m.
Paul Mensonides wrote:
Incidentally, this should automatically be:
if (something) { MACRO_INVOCATION(); // semicolon argument aside } else ...
Because if the macro expands to statement, it could just as easily expand to a series of statements.
But doesn't everybody wrap those in do-while loops? I.e., #define FOO do { bar; baz; } while (false) -- Jason McCarty <bclg@iup.edu>