*_ptr.hpp:

- Revert addition of is_pointerlike_helper

weak_ptr.hpp:
  - Revert addition of get_pointer


[SVN r15108]
This commit is contained in:
Douglas Gregor
2002-08-29 13:49:05 +00:00
parent e77889679f
commit c02fee7013
4 changed files with 0 additions and 34 deletions

View File

@@ -168,19 +168,6 @@ template<class T> shared_ptr<T> make_shared(weak_ptr<T> const & r) // never thro
}
}
// mem_fn support
template<class T> T * get_pointer(weak_ptr<T> const & p)
{
return p.get();
}
namespace detail {
// is_pointerlike_helper enables Signals library to recognize intrusive_ptr
template<typename T>
type_traits::yes_type is_pointerlike_helper(const weak_ptr<T>&, int);
} // end namespace detail
} // namespace boost
#ifdef BOOST_MSVC