Boost logo

Boost :

Subject: Re: [boost] [Review] Formal Review: Boost.Move
From: Jeffrey Lee Hellrung, Jr. (jhellrung_at_[hidden])
Date: 2010-05-16 06:02:01


On 5/16/2010 2:52 AM, Mathieu - wrote:
> Hi
>
>> Consider what the preprocessor would make of BOOST_RV_REF( tmpl< T, U> )...oops! The preprocessor thinks you're passing 2 parameters to BOOST_RV_REF :(
>
> What about just using four parenthesis to prevent the comma being
> interpreted by the preprocessor as a macro argument separator :
>
> BOOST_RV_REF((tmpl< T, U>))

I don't think parentheses around a type are allowed (at least in many
contexts)...

- Jeff


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