diff --git a/include/boost/utility/result_of.hpp b/include/boost/utility/result_of.hpp index f0e084a..4a20254 100644 --- a/include/boost/utility/result_of.hpp +++ b/include/boost/utility/result_of.hpp @@ -46,7 +46,7 @@ #ifndef BOOST_RESULT_OF_USE_TR1 # ifndef BOOST_RESULT_OF_USE_DECLTYPE -# ifndef BOOST_NO_DECLTYPE_N3276 // this implies !defined(BOOST_NO_DECLTYPE) +# ifndef BOOST_NO_CXX11_DECLTYPE_N3276 // this implies !defined(BOOST_NO_CXX11_DECLTYPE) # define BOOST_RESULT_OF_USE_DECLTYPE # else # define BOOST_RESULT_OF_USE_TR1 diff --git a/test/result_of_test.cpp b/test/result_of_test.cpp index 61592f5..d06ec64 100644 --- a/test/result_of_test.cpp +++ b/test/result_of_test.cpp @@ -104,7 +104,7 @@ struct no_result_type_or_result cv_overload_check operator()() const; cv_overload_check operator()() volatile; cv_overload_check operator()() const volatile; -#if !defined(BOOST_NO_RVALUE_REFERENCES) +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) short operator()(int&&); int operator()(int&); long operator()(int const&); @@ -122,7 +122,7 @@ struct no_result_type_or_result_template cv_overload_check operator()() const; cv_overload_check operator()() volatile; cv_overload_check operator()() const volatile; -#if !defined(BOOST_NO_RVALUE_REFERENCES) +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) short operator()(int&&); int operator()(int&); long operator()(int const&); @@ -291,7 +291,7 @@ int main() BOOST_STATIC_ASSERT((is_same(void)>::type, cv_overload_check >::value)); BOOST_STATIC_ASSERT((is_same(void)>::type, cv_overload_check >::value)); BOOST_STATIC_ASSERT((is_same(void)>::type, cv_overload_check >::value)); -#if !defined(BOOST_NO_RVALUE_REFERENCES) +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) BOOST_STATIC_ASSERT((is_same::type, short>::value)); BOOST_STATIC_ASSERT((is_same::type, int>::value)); BOOST_STATIC_ASSERT((is_same::type, long>::value));