]> git.lyx.org Git - lyx.git/blobdiff - boost/boost/type_traits/remove_volatile.hpp
update boost to version 1.48
[lyx.git] / boost / boost / type_traits / remove_volatile.hpp
index 723ebe35af40b0f9053d0e2649908a7510b9e632..073a2a3eccc32cd1be019127f5b353d4f65375d1 100644 (file)
@@ -53,6 +53,17 @@ struct remove_volatile_impl
         >::type type;
 };
 
+//
+// We can't filter out rvalue_references at the same level as
+// references or we get ambiguities from msvc:
+//
+#ifndef BOOST_NO_RVALUE_REFERENCES
+template <typename T>
+struct remove_volatile_impl<T&&>
+{
+    typedef T&& type;
+};
+#endif
 } // namespace detail
 
 // * convert a type T to a non-volatile type - remove_volatile<T>