4 ms·
It enables you to invoke the macro as if it were an expression statement consisting of a function call, regardless of where it appears. For details, see http:/
by Someone 8y ago
It enables you to invoke the macro as if it were an expression statement consisting of a function call, regardless of where it appears.
For details, see http://c-faq.com/cpp/multistmt.html http://c-faq.com/cpp/multistmt.html:
- loeg 8y agoIn particular, a single statement. I'm sure the link covers it, but: if (foo) MULTI_LINE_MACRO; Breaks without some wrapper like if (1) { A; B; } or do { A; B; } while (0): if (foo) A; B; // oops, unconditional (e.g., "goto fail")