Wondering if it's possible to assign a C++ macro two values separated by a comma and use this macro to later define two parameters passed to a macro?
E.g., for the macro
#define ADD_TWO(first, second) first + second
This works:
int foo = ADD_TWO(0, 42);
But this doesn't
#define ZERO_COMMA_FORTY_TWO 0,42
int bar = ADD_TWO(ZERO_COMMA_FORTY_TWO);
Is there a way to define a macro as two or more parameters to another macro?
EDIT: Environment is VS2017