|
Boost : |
Subject: Re: [boost] [Review] Formal Review: Boost.Move
From: Mathieu - (ptr.jetable_at_[hidden])
Date: 2010-05-16 06:46:39
On 16 May 2010 12:24, vicente.botet <vicente.botet_at_[hidden]> wrote:
>>> * BTW, why BOOST_RV_REF_2_TEMPL_ARGS and BOOST_RV_REF_3_TEMPL_ARGS are needed?
>>>
>>
> >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 :(
>Sorry, I have not tried this, but does BOOST_RV_REF(( tmpl< T, U > )) fails?
That's what I tried ( unfortunately AFTER posting :/), but it doesn't
work with types because the macro expand to something like :
::boost::rv<(tmpl<T,U>)> which is an invalid template argument..
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk