Boost logo

Boost :

Subject: Re: [boost] [preprocessor] Warning: Incoming
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-06-27 12:29:15


On 06/27/2011 04:01 PM, Edward Diener wrote:
> On 6/27/2011 9:16 AM, Mathias Gaunard wrote:
>> On 06/26/2011 03:02 PM, Paul Mensonides wrote:
>>> I'm about to commit a relatively significant changeset to the pp-lib.
>>> This is the result of work by Edward Diener and I to add limited
>>> variadic
>>> support to the pp-lib. Edward can comment in more detail regarding the
>>> extent of those changes, but they do not add ground-up support.
>>
>> What are the new features?
>> Is it only new functions or are there also some fixes like allowing
>> (a)(b, c)(d) to be a valid sequence?
>
> The new features are adding variadic macro support. No other fixes are
> provided. Look at 'variadic macros' under the Topics heading for what
> has been done. I believe I give a pretty good general explanation there.
> Of couurse the individual variadic macro support is documented under the
> Reference and Headers.

Ok, so there are a few new tuple "overloads" and a new "variadic" type
which is essentially a tuple without the parentheses.

May I suggest the addition of a macro that strips parentheses but only
if they are present?
I have found this to be very useful for passing arguments that contain
commas easily.


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