Boost C++ Libraries: Ticket #1924: sp_techniques clarity https://svn.boost.org/trac10/ticket/1924 <p> <a href="http://www.boost.org/doc/libs/1_35_0/libs/smart_ptr/sp_techniques.html#preventing_delete">http://www.boost.org/doc/libs/1_35_0/libs/smart_ptr/sp_techniques.html#preventing_delete</a> seems to suggest that the private deleter is what prevents "delete p.get()", but in fact it's the private dtor that does the trick. It's not entirely clear what you're trying to illustrate here but whatever it is, I think it could use a little more explanation. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1924 Trac 1.4.3 Dave Abrahams Fri, 16 May 2008 18:02:51 GMT summary changed https://svn.boost.org/trac10/ticket/1924#comment:1 https://svn.boost.org/trac10/ticket/1924#comment:1 <ul> <li><strong>summary</strong> <span class="trac-field-old">sp_techniques clariity</span> → <span class="trac-field-new">sp_techniques clarity</span> </li> </ul> Ticket Peter Dimov Sat, 28 Feb 2009 17:05:11 GMT milestone changed https://svn.boost.org/trac10/ticket/1924#comment:2 https://svn.boost.org/trac10/ticket/1924#comment:2 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.36.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> Ticket Jonathan Wakely <jwakely.boost@…> Sun, 14 Jun 2009 13:45:49 GMT <link>https://svn.boost.org/trac10/ticket/1924#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1924#comment:3</guid> <description> <p> If the deleter isn't also private then it doesn't solve the problem, as <code>X::deleter()( p.get );</code> will still work. </p> <p> The way I read it, that particular example is showing a technique using a private deleter. Yes, it relies on a private dtor, but the deleter and the fact it's private are the key points. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Thu, 24 Feb 2011 17:19:40 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1924#comment:4 https://svn.boost.org/trac10/ticket/1924#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> Ticket