I\'d like to use a macro like the following:
#define x(...) y(a,##__VA_ARGS__,b)
To expand like so:
x(); -> y(a,b); x(1)
Yes, ##__VA_ARGS__ is a GNU extension.
##__VA_ARGS__