diff --git a/include/boost/intrusive_ptr.hpp b/include/boost/intrusive_ptr.hpp index 36bc321..4ada734 100644 --- a/include/boost/intrusive_ptr.hpp +++ b/include/boost/intrusive_ptr.hpp @@ -20,7 +20,6 @@ #endif #include // std::less -#include namespace boost { @@ -194,12 +193,6 @@ template T * get_pointer(intrusive_ptr const & p) return p.get(); } -namespace detail { - // is_pointerlike_helper enables Signals library to recognize intrusive_ptr - template - type_traits::yes_type is_pointerlike_helper(const intrusive_ptr&, int); -} // end namespace detail - } // namespace boost #ifdef BOOST_MSVC diff --git a/include/boost/scoped_ptr.hpp b/include/boost/scoped_ptr.hpp index 77c77a5..738ad1b 100644 --- a/include/boost/scoped_ptr.hpp +++ b/include/boost/scoped_ptr.hpp @@ -14,7 +14,6 @@ #include #include -#include #ifndef BOOST_NO_AUTO_PTR # include // for std::auto_ptr @@ -120,12 +119,6 @@ template inline T * get_pointer(scoped_ptr const & p) return p.get(); } -namespace detail { - // is_pointerlike_helper enables Signals library to recognize scoped_ptr - template - type_traits::yes_type is_pointerlike_helper(const scoped_ptr&, int); -} // end namespace detail - } // namespace boost #endif // #ifndef BOOST_SCOPED_PTR_HPP_INCLUDED diff --git a/include/boost/shared_ptr.hpp b/include/boost/shared_ptr.hpp index d9cc25d..8f55948 100644 --- a/include/boost/shared_ptr.hpp +++ b/include/boost/shared_ptr.hpp @@ -25,7 +25,6 @@ #include #include #include -#include #include // for std::auto_ptr #include // for std::swap @@ -324,12 +323,6 @@ template inline T * get_pointer(shared_ptr const & p) return p.get(); } -namespace detail { - // is_pointerlike_helper enables Signals library to recognize shared_ptr - template - type_traits::yes_type is_pointerlike_helper(const shared_ptr&, int); -} // end namespace detail - // shared_from_this() creates a shared_ptr from a raw pointer (usually 'this') namespace detail diff --git a/include/boost/weak_ptr.hpp b/include/boost/weak_ptr.hpp index dc11ca0..e04b4f1 100644 --- a/include/boost/weak_ptr.hpp +++ b/include/boost/weak_ptr.hpp @@ -168,19 +168,6 @@ template shared_ptr make_shared(weak_ptr const & r) // never thro } } -// mem_fn support - -template T * get_pointer(weak_ptr const & p) -{ - return p.get(); -} - -namespace detail { - // is_pointerlike_helper enables Signals library to recognize intrusive_ptr - template - type_traits::yes_type is_pointerlike_helper(const weak_ptr&, int); -} // end namespace detail - } // namespace boost #ifdef BOOST_MSVC