diff --git a/include/boost/type_traits/has_nothrow_copy.hpp b/include/boost/type_traits/has_nothrow_copy.hpp index b95e094..386e675 100644 --- a/include/boost/type_traits/has_nothrow_copy.hpp +++ b/include/boost/type_traits/has_nothrow_copy.hpp @@ -67,7 +67,9 @@ template struct has_nothrow_copy_constructor : public integral_constan template <> struct has_nothrow_copy_constructor : public false_type{}; template struct has_nothrow_copy_constructor : public false_type{}; template struct has_nothrow_copy_constructor : public false_type{}; +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) template struct has_nothrow_copy_constructor : public false_type{}; +#endif #ifndef BOOST_NO_CV_VOID_SPECIALIZATIONS template <> struct has_nothrow_copy_constructor : public false_type{}; template <> struct has_nothrow_copy_constructor : public false_type{};