forked from boostorg/bind
get_pointer overload for shared_ptr moved to shared_ptr.hpp
[SVN r12642]
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user