Using va_arg for variable params in a macro
Posted on 2001-06-19
A colleague wrote me:
"I recently ran across some info about some new C standard allowing a variable number of arguments in a macro via the macro __VA_ARGS__. Does MS C++ allow this in macro's?"
I have never heard of __VA_ARGS__ but found a proposal for it in a document dated 1999, with no followup. Any info out there?
Is there a way to use the va_arg macro to allow a variable number of parameters in a macro?