Add needed PP_guard around rvalue ref usage.

This commit is contained in:
jzmaddock
2015-07-08 16:42:38 +01:00
parent 2d04c70520
commit ac4a37449d

View File

@ -67,7 +67,9 @@ template <class T> struct has_nothrow_copy_constructor : public integral_constan
template <> struct has_nothrow_copy_constructor<void> : public false_type{};
template <class T> struct has_nothrow_copy_constructor<T volatile> : public false_type{};
template <class T> struct has_nothrow_copy_constructor<T&> : public false_type{};
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
template <class T> struct has_nothrow_copy_constructor<T&&> : public false_type{};
#endif
#ifndef BOOST_NO_CV_VOID_SPECIALIZATIONS
template <> struct has_nothrow_copy_constructor<void const> : public false_type{};
template <> struct has_nothrow_copy_constructor<void volatile> : public false_type{};