Boost logo

Boost :

Subject: Re: [boost] Need for BOOST_PP_VARIADIC_POP_FRONT
From: GMan (gmannickg_at_[hidden])
Date: 2011-11-10 04:17:48


On Tue, Nov 8, 2011 at 3:49 PM, Gennadiy Rozental <rogeeff_at_[hidden]> wrote:

> (with support for zero arguments).
>

If we're talking about C99 variadic macros, then (IIRC) variadic arguments
*must* contain at least one element.

In other words: given #define FOO(x, ...) /* impl */, FOO("only one") is
not allowed.

(But perhaps I'm simply missing what you mean by variadic; if so, disregard
this message.)

-- 
GMan, Nick Gorski

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk