
25 Mar
2012
25 Mar
'12
1:25 a.m.
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