I have the following macro:
#define MyAssert(condition, ...) CallMyAssertFunctionInCpp(condition, __VA_ARGS__)
__VA_ARGS__
is the error message of type char *
, I would like to make it equal to ""
if __VA_ARGS__
is empty.
How to do that? I'm not sure I can do condition in macro but maybe there is a trick?