From ac4a37449d6d1eb7bc0cc77aaf0daf6017177ed6 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Wed, 8 Jul 2015 16:42:38 +0100 Subject: [PATCH] Add needed PP_guard around rvalue ref usage. --- include/boost/type_traits/has_nothrow_copy.hpp | 2 ++ 1 file changed, 2 insertions(+) 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{};