Change the result_of behaviour with BOOST_RESULT_OF_USE_DECLTYPE

to make consistency with boost::result_of.