
19 Jul
2005
19 Jul
'05
10:40 a.m.
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Dave Steffen
... and what I attempted to say (and didn't very well) is that in places where null statements are allowed, yes, you're correct; the macro could include its own semicolon, and people who want add their own are allowed to....
... with a few exceptions. As has been pointed out,
if (something) MACRO_INVOCATION(); else ...
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. Regards, Paul Mensonides