]> git.lyx.org Git - features.git/blobdiff - boost/boost/smart_ptr/make_shared.hpp
boost: update to 1.42.0
[features.git] / boost / boost / smart_ptr / make_shared.hpp
index 7e1e793e1934d4a31cc2efb160bce68a9403c90a..d47718808c44c0473ba5ba0f2ebcb75028609509 100644 (file)
@@ -86,10 +86,12 @@ public:
     }
 };
 
-template< class T > T forward( T t )
+#if defined( BOOST_HAS_RVALUE_REFS )
+template< class T > T&& forward( T &&t )
 {
     return t;
 }
+#endif
 
 } // namespace detail