diff --git a/include/boost/type_traits/has_nothrow_copy.hpp b/include/boost/type_traits/has_nothrow_copy.hpp index b95e094..112ba88 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{}; diff --git a/include/boost/type_traits/has_trivial_copy.hpp b/include/boost/type_traits/has_trivial_copy.hpp index fc81dbe..c0b3344 100644 --- a/include/boost/type_traits/has_trivial_copy.hpp +++ b/include/boost/type_traits/has_trivial_copy.hpp @@ -44,7 +44,9 @@ template <> struct has_trivial_copy : public false_type{}; #endif template struct has_trivial_copy : public false_type{}; +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) template struct has_trivial_copy : public false_type{}; +#endif template struct has_trivial_copy_constructor : public has_trivial_copy{};