Boost logo

Boost :

Subject: Re: [boost] [preprocessor] Warning: Incoming
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-06-27 16:37:03


On 6/27/2011 12:29 PM, Mathias Gaunard wrote:
> 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 do not think this is possible. But I am out of the loop regarding
pp-lib additions and Paul would really know if this could be done.

> I have found this to be very useful for passing arguments that contain
> commas easily.

Can you give an example of what you are trying to do ?


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