diff --git a/include/boost/smart_ptr/intrusive_ptr.hpp b/include/boost/smart_ptr/intrusive_ptr.hpp index 4ebc416..138eee6 100644 --- a/include/boost/smart_ptr/intrusive_ptr.hpp +++ b/include/boost/smart_ptr/intrusive_ptr.hpp @@ -60,8 +60,6 @@ public: if( px != 0 && add_ref ) intrusive_ptr_add_ref( px ); } -#if !defined(BOOST_NO_MEMBER_TEMPLATES) || defined(BOOST_MSVC6_MEMBER_TEMPLATES) - template #if !defined( BOOST_SP_NO_SP_CONVERTIBLE ) @@ -77,8 +75,6 @@ public: if( px != 0 ) intrusive_ptr_add_ref( px ); } -#endif - intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) { if( px != 0 ) intrusive_ptr_add_ref( px ); @@ -89,16 +85,12 @@ public: if( px != 0 ) intrusive_ptr_release( px ); } -#if !defined(BOOST_NO_MEMBER_TEMPLATES) || defined(BOOST_MSVC6_MEMBER_TEMPLATES) - template intrusive_ptr & operator=(intrusive_ptr const & rhs) { this_type(rhs).swap(*this); return *this; } -#endif - // Move support #if !defined( BOOST_NO_CXX11_RVALUE_REFERENCES )