Subject: [Boost-bugs] [Boost C++ Libraries] #1114: Request for shared_ptr::type and shared_ptr::pointer
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-07-23 23:17:56
#1114: Request for shared_ptr::type and shared_ptr::pointer
-------------------------------------+--------------------------------------
Reporter: emil_at_[hidden] | Type: Feature Requests
Status: new | Milestone: To Be Determined
Component: smart_ptr | Version:
Severity: Not Applicable | Keywords:
-------------------------------------+--------------------------------------
Requesting two member functions to be added to shared_ptr:
template <class T>[[BR]]
void * shared_ptr<T>::pointer() const;
Returns the pointer passed to a shared_ptr constructor.
template <class T>[[BR]]
std::type_info const & shared_ptr<T>::type() const;
Returns the type_info for the type of the pointer passed to a shared_ptr
constructor.
This is the discussion on the Boost mailing list that is relevant to this
request: http://lists.boost.org/Archives/boost/2007/05/122018.php
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1114>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC