forked from boostorg/smart_ptr
Remove remaining occurances of BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
These evaded scripting. [SVN r86249]
This commit is contained in:
@ -452,7 +452,7 @@ public:
|
|||||||
boost::detail::sp_deleter_construct( this, tmp );
|
boost::detail::sp_deleter_construct( this, tmp );
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif !defined( BOOST_NO_SFINAE ) && !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION )
|
#elif !defined( BOOST_NO_SFINAE )
|
||||||
|
|
||||||
template<class Ap>
|
template<class Ap>
|
||||||
explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr<Ap, int>::type = 0 ): px( r.get() ), pn()
|
explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr<Ap, int>::type = 0 ): px( r.get() ), pn()
|
||||||
@ -467,7 +467,7 @@ public:
|
|||||||
boost::detail::sp_deleter_construct( this, tmp );
|
boost::detail::sp_deleter_construct( this, tmp );
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // BOOST_NO_SFINAE, BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
#endif // BOOST_NO_SFINAE
|
||||||
|
|
||||||
#endif // BOOST_NO_AUTO_PTR
|
#endif // BOOST_NO_AUTO_PTR
|
||||||
|
|
||||||
@ -523,7 +523,7 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif !defined( BOOST_NO_SFINAE ) && !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION )
|
#elif !defined( BOOST_NO_SFINAE )
|
||||||
|
|
||||||
template<class Ap>
|
template<class Ap>
|
||||||
typename boost::detail::sp_enable_if_auto_ptr< Ap, shared_ptr & >::type operator=( Ap r )
|
typename boost::detail::sp_enable_if_auto_ptr< Ap, shared_ptr & >::type operator=( Ap r )
|
||||||
@ -532,7 +532,7 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // BOOST_NO_SFINAE, BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
#endif // BOOST_NO_SFINAE
|
||||||
|
|
||||||
#endif // BOOST_NO_AUTO_PTR
|
#endif // BOOST_NO_AUTO_PTR
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user