From 3832411d319191b0597eed3cd6df0e596cb0a55f Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 24 Sep 2024 18:35:32 +0300 Subject: [PATCH] Remove uses of BOOST_NO_MEMBER_TEMPLATES, BOOST_MSVC6_MEMBER_TEMPLATES --- include/boost/smart_ptr/intrusive_ptr.hpp | 8 -------- 1 file changed, 8 deletions(-) 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 )