How do I write a cpp macro which expands to include newlines?
Use \, like so:
\
#define my_multiline_macro(a, b, c) \ if (a) { \ b += c; \ }