Boost C++ Libraries: Ticket #855: provide detach() function for shared pointer https://svn.boost.org/trac10/ticket/855 <pre class="wiki">I suggest that we should provide a new method T* detachPtr() for shared_ptr to let the shared_ptr pass owner ship to other fuctions or applications. It is a comman case that user will have to let the share_ptr give up the owenership of the objec, pass the object to other application let that application take care the objcet's life. But there is no method to do so. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/855 Trac 1.4.3 Peter Dimov Mon, 09 Apr 2007 21:37:59 GMT status changed https://svn.boost.org/trac10/ticket/855#comment:1 https://svn.boost.org/trac10/ticket/855#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=305912 Originator: NO There are no plans to add a release() member to shared_ptr at this time; this is in the FAQ. </pre> Ticket