From 63ac28d26ff22ed2a771fab484242d740bfd389f Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 25 Sep 2024 20:12:28 +0300 Subject: [PATCH] Remove definition of sp_enable_if_auto_ptr, no longer used --- include/boost/smart_ptr/shared_ptr.hpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/include/boost/smart_ptr/shared_ptr.hpp b/include/boost/smart_ptr/shared_ptr.hpp index 4f5dbb4..d41a203 100644 --- a/include/boost/smart_ptr/shared_ptr.hpp +++ b/include/boost/smart_ptr/shared_ptr.hpp @@ -191,21 +191,6 @@ inline void sp_enable_shared_from_this( ... ) #endif // _MANAGED -#if !defined( BOOST_NO_SFINAE ) && !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION ) && !defined( BOOST_NO_AUTO_PTR ) - -// rvalue auto_ptr support based on a technique by Dave Abrahams - -template< class T, class R > struct sp_enable_if_auto_ptr -{ -}; - -template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > -{ - typedef R type; -}; - -#endif - // sp_assert_convertible template< class Y, class T > inline void sp_assert_convertible() BOOST_SP_NOEXCEPT