aboutsummaryrefslogtreecommitdiff
path: root/cutl/details/boost/type_traits/remove_cv.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cutl/details/boost/type_traits/remove_cv.hpp')
-rw-r--r--cutl/details/boost/type_traits/remove_cv.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cutl/details/boost/type_traits/remove_cv.hpp b/cutl/details/boost/type_traits/remove_cv.hpp
index 0ba0297..987edee 100644
--- a/cutl/details/boost/type_traits/remove_cv.hpp
+++ b/cutl/details/boost/type_traits/remove_cv.hpp
@@ -27,6 +27,8 @@
namespace cutl_details_boost {
+#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
+
namespace detail{
template <class T>
@@ -35,7 +37,7 @@ struct rvalue_ref_filter_rem_cv
typedef typename cutl_details_boost::detail::cv_traits_imp<T*>::unqualified_type type;
};
-#ifndef BOOST_NO_RVALUE_REFERENCES
+#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
//
// We can't filter out rvalue_references at the same level as
// references or we get ambiguities from msvc:
@@ -49,7 +51,6 @@ struct rvalue_ref_filter_rem_cv<T&&>
}
-#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
// convert a type T to a non-cv-qualified type - remove_cv<T>
BOOST_TT_AUX_TYPE_TRAIT_DEF1(remove_cv,T,typename cutl_details_boost::detail::rvalue_ref_filter_rem_cv<T>::type)