|
Boost : |
Subject: Re: [boost] Need for BOOST_PP_VARIADIC_POP_FRONT
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2011-11-10 11:21:46
GMan <gmannickg <at> gmail.com> writes:
> > (with support for zero arguments).
> >
>
> If we're talking about C99 variadic macros, then (IIRC) variadic arguments
> *must* contain at least one element.
Do you mean according to standard? Can you provide reference
> In other words: given #define FOO(x, ...) /* impl */, FOO("only one") is
> not allowed.
All compilers, which I have access to, allow it.
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk