Each line, including the #define, except the very last line, must terminate with a backslash.

But this is C++. You should be using an inline function, not a macro. What happens if the code which...