1
0
forked from boostorg/bind

get_pointer overload for shared_ptr moved to shared_ptr.hpp

[SVN r12642]
This commit is contained in:
Peter Dimov
2002-02-02 16:16:02 +00:00
parent 3179474c0e
commit 866866c1df

View File

@@ -31,15 +31,7 @@ template<class T> T * get_pointer(T * p)
return p; return p;
} }
// implementation of get_pointer for boost::shared_ptr // get_pointer(shared_ptr<T> const & p) has been moved to shared_ptr.hpp
// this will probably migrate to boost/shared_ptr.hpp
template<class T> class shared_ptr;
template<class T> T * get_pointer(shared_ptr<T> const & p)
{
return p.get();
}
#if defined(BOOST_NO_VOID_RETURNS) #if defined(BOOST_NO_VOID_RETURNS)