Boost logo

Boost :

Subject: Re: [boost] [result_of] Make `cpp0x_result_of_impl` public
From: Michel Morin (mimomorin_at_[hidden])
Date: 2012-03-24 21:25:30


Nathan Ridge wrote:
>> By defining BOOST_RESULT_OF_USE_DECLTYPE,
>> boost::result_of use decltype-based implementation.
>> But this is not always a viable solution, since this breaks
>> some Boost libraries.
>
> Perhaps we could fix those instead?

Without N3256 decltype (which does not require type completeness in
function call expressions), some problems cannot be avoided.
For this reason, Boost.Proto explicitly uses tr1_result_of.
For other reasons, I think we could fix them.
We should perform regression tests with BOOST_RESULT_OF_USE_DECLTYPE
for the clients of result_of.

Regards,
Michel


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