Boost C++ Libraries: Ticket #1114: Request for shared_ptr::type and shared_ptr::pointer https://svn.boost.org/trac10/ticket/1114 <p> Requesting two member functions to be added to shared_ptr: </p> <p> template &lt;class T&gt;<br /> void * shared_ptr&lt;T&gt;::pointer() const; </p> <blockquote> <p> Returns the pointer passed to a shared_ptr constructor. </p> </blockquote> <p> template &lt;class T&gt;<br /> std::type_info const &amp; shared_ptr&lt;T&gt;::type() const; </p> <blockquote> <p> Returns the type_info for the type of the pointer passed to a shared_ptr constructor. </p> </blockquote> <p> This is the discussion on the Boost mailing list that is relevant to this request: <a class="ext-link" href="http://lists.boost.org/Archives/boost/2007/05/122018.php"><span class="icon">​</span>http://lists.boost.org/Archives/boost/2007/05/122018.php</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1114 Trac 1.4.3 Peter Dimov Mon, 23 Jul 2007 23:20:25 GMT status changed; owner set https://svn.boost.org/trac10/ticket/1114#comment:1 https://svn.boost.org/trac10/ticket/1114#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Peter Dimov</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Peter Dimov Thu, 24 Feb 2011 18:03:47 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1114#comment:2 https://svn.boost.org/trac10/ticket/1114#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> Ticket