Boost logo

Boost :

Subject: Re: [boost] [result_of] Allow result_of to work with C++11 lambdas
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2013-04-10 07:40:50


Le 09/04/13 07:50, Nathan Crookston a écrit :
> Jeff Hellrung suggested[1] a fallback to decltype *only* for compilers
> which had nonconforming decltype operators. Thus the only behavioral
> change would be that some code which before would produce an error would
> now compile and run correctly.
>

Hi,

how a Boost library as Boost.Thread could use the new boost::result_of?
Should it provide different implementations depending on whether
BOOST_RESULT_OF_USE_DECLTYPE, BOOST_RESULT_OF_USE_TR1, or
BOOST_RESULT_OF_USE_TR1_WITH_DECLTYPE_FALLBACK are defined?

Best,
Vicente


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