]> git.donarmstrong.com Git - rsem.git/blobdiff - boost/type_traits/remove_cv.hpp
Updated boost to v1.55.0
[rsem.git] / boost / type_traits / remove_cv.hpp
index 668e755604e8fe3950f7ae28ab190dd9afcbe03c..7478c207eb25316203578bfc9ccc738b00acac92 100644 (file)
 
 namespace boost {
 
+#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
+
 namespace detail{
 
 template <class T>
 struct rvalue_ref_filter_rem_cv
 {
-       typedef typename boost::detail::cv_traits_imp<T*>::unqualified_type type;
+   typedef typename 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:
@@ -43,13 +45,12 @@ struct rvalue_ref_filter_rem_cv
 template <class T>
 struct rvalue_ref_filter_rem_cv<T&&>
 {
-       typedef T&& type;
+   typedef T&& type;
 };
 #endif
 
 }
 
-#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 boost::detail::rvalue_ref_filter_rem_cv<T>::type)