
16 May
2010
16 May
'10
10:46 a.m.
On 16 May 2010 12:24, vicente.botet <vicente.botet@wanadoo.fr> 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..