
14 Nov
2011
14 Nov
'11
7:53 a.m.
On Sun, 13 Nov 2011 21:10:11 -0800, Jeffrey Lee Hellrung, Jr. wrote:
I'm just curious, is
-------- #define A(...) A(,) --------
legal?
Yes. "Empty" is a valid argument in >= C99 and >= C++0x. An example of when an empty argument actually appears when passing around a cv- qualifier: nothing | const | volatile | const volatile. This is only one of many many scenarios where emptiness is a valid element and has meaning. Regards, Paul Mensonides