Skip to content

Commit 63ac28d

Browse files
committed
Remove definition of sp_enable_if_auto_ptr, no longer used
1 parent 72a0199 commit 63ac28d

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

include/boost/smart_ptr/shared_ptr.hpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -191,21 +191,6 @@ inline void sp_enable_shared_from_this( ... )
191191

192192
#endif // _MANAGED
193193

194-
#if !defined( BOOST_NO_SFINAE ) && !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION ) && !defined( BOOST_NO_AUTO_PTR )
195-
196-
// rvalue auto_ptr support based on a technique by Dave Abrahams
197-
198-
template< class T, class R > struct sp_enable_if_auto_ptr
199-
{
200-
};
201-
202-
template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
203-
{
204-
typedef R type;
205-
};
206-
207-
#endif
208-
209194
// sp_assert_convertible
210195

211196
template< class Y, class T > inline void sp_assert_convertible() BOOST_SP_NOEXCEPT

0 commit comments

Comments
 (0)