Boost logo

Boost :

Subject: Re: [boost] Alternative implementation for BOOST_PP_VARIADIC_SIZE
From: Jeffrey Lee Hellrung, Jr. (jeffrey.hellrung_at_[hidden])
Date: 2011-11-14 00:10:11

On Sun, Nov 13, 2011 at 9:03 PM, Gennadiy Rozental <rogeeff_at_[hidden]>wrote:

> Edward Diener <eldiener <at>> 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(...)


- Jeff

Boost list run by bdawes at, gregod at, cpdaniel at, john at