3 ms·
It puts the whole #define code into a single expression so you can do if (cond) MACRO; and the macro won't expand incorrectly to if (cond) foo;
by gp7 11y ago
It puts the whole #define code into a single expression so you can do
if (cond)
MACRO;
and the macro won't expand incorrectly to
if (cond)
foo;
bar;
I personally just go the anal retentive route and use brackets everywhere.
- cthrowappp 11y agoNot in this case it doesn't.