Remove definition of sp_enable_if_auto_ptr, no longer used

This commit is contained in:
Peter Dimov
2024-09-25 20:12:28 +03:00
parent 72a019944c
commit 63ac28d26f

View File

@ -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