Opened 15 years ago
Closed 12 years ago
#1114 closed Feature Requests (wontfix)
Request for shared_ptr::type and shared_ptr::pointer
Reported by: | Owned by: | Peter Dimov | |
---|---|---|---|
Milestone: | To Be Determined | Component: | smart_ptr |
Version: | Severity: | Not Applicable | |
Keywords: | Cc: |
Description
Requesting two member functions to be added to shared_ptr:
template <class T>
void * shared_ptr<T>::pointer() const;
Returns the pointer passed to a shared_ptr constructor.
template <class T>
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
Change History (2)
comment:1 by , 15 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 12 years ago
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.