
13 Nov
2011
13 Nov
'11
3:44 p.m.
Paul Mensonides <pmenso57 <at> comcast.net> writes:
Regardless, the scenario here is fundamentally wrong-headed. A macro argument may be empty, but that does not change the number of arguments. E.g.
#define A(...)
A() // one argument (*not* zero arguments) B(,) // two arguments C(,,) // three arguments
This is all very theoretical. In practice I want for A() to indicate that it has zero arguments and A(b) that it has one, even though former is just later with empty b. Any other size logic would be very confusing. Gennadiy