Hi,
Is it possible to add default arguments before variable argument in variadic macro? e.g I have the version of macro something like
#define MACRO(arg1, ...) func(arg1, ##__VA_ARGS__)
I would like to add 2 more default arguments in the macro before variable arguments so that it should not affect previous version. Like:
#define MACRO(arg1, arg2 = "", arg3 = "", ...) func(arg1, arg2, arg3, ##__VA_ARGS__)
Any help would be appreciated.
Thanks Vishal