Boost logo

Boost :

Subject: Re: [boost] Alternative implementation for BOOST_PP_VARIADIC_SIZE
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2011-11-13 10:44:51

Paul Mensonides <pmenso57 <at>> 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.


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