Change the result_of behaviour with BOOST_RESULT_OF_USE_DECLTYPE

to make consistency between boost::result_of.
This commit is contained in:
Kohei Takahashi
2014-11-02 02:55:26 +09:00
parent 7ef4b03249
commit 0a13aa5ee4
2 changed files with 11 additions and 5 deletions

View File

@ -238,7 +238,7 @@ main()
}
{
#if !defined(BOOST_NO_CXX11_DECLTYPE)
#if !defined(BOOST_FUSION_NO_DECLTYPE_BASED_RESULT_OF)
{
boost::fusion::vector<int, double, long> container{1, 2, 3};
functor f;