mirror of
				https://github.com/boostorg/smart_ptr.git
				synced 2025-10-31 15:51:38 +01:00 
			
		
		
		
	Remove uses of BOOST_NO_CXX11_RVALUE_REFERENCES
This commit is contained in:
		| @@ -64,13 +64,11 @@ int main() | ||||
|         boost::shared_ptr< ByRef > x = boost::make_shared< ByRef >(boost::move(a)); | ||||
|         BOOST_TEST( x->constructed_by_ == ByRef::move_constructor); | ||||
|     } | ||||
| #if !defined( BOOST_NO_CXX11_RVALUE_REFERENCES ) | ||||
|     { | ||||
|         boost::shared_ptr< ByVal > x = boost::make_shared< ByVal >(movearg()); | ||||
|         boost::shared_ptr< ByRef > y = boost::make_shared< ByRef >(movearg()); | ||||
|         BOOST_TEST( y->constructed_by_ == ByRef::move_constructor); | ||||
|     } | ||||
| #endif // !defined( BOOST_NO_CXX11_RVALUE_REFERENCES ) | ||||
|     { | ||||
|         const movearg ca; | ||||
|         boost::shared_ptr< ByRef > x = boost::make_shared< ByRef >(ca); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user