
On Sun, Nov 13, 2011 at 9:03 PM, Gennadiy Rozental <rogeeff@gmail.com>wrote:
Edward Diener <eldiener <at> tropicsoft.com> writes:
I did document this corner case in my VMD but clearly it makes an IS_EMPTY macro not 100% reliable, as it makes your solution not 100% reliable. It is no use saying that you have a foolproof solution to size returning 0, when it is clearly not foolproof. OTOH I personally am not against having a solution that is not 100% reliable else I would not have put out the latest version of VMD. But, although I can not speak for him, I have a strong impression that Paul does not want such code in Boost PP.
Variadic data library which does not say that A() has zero arguments is useless IMO (all the corner cases aside, which we might never hit in practice). This is the most important use case.
I'm just curious, is -------- #define A(...) A(,) -------- legal? - Jeff