Boost C++ Libraries: Ticket #6233: scoped_ptr::reset(p, d) does not construct with deleter https://svn.boost.org/trac10/ticket/6233 <p> The scoped_ptr::reset is here. </p> <pre class="wiki">void reset(const pointer &amp;p, const Deleter &amp;d) // never throws { BOOST_ASSERT(p == 0 || p != m_ptr); this_type(p).swap(*this); } </pre><p> But I think it should be this. </p> <pre class="wiki">void reset(const pointer &amp;p, const Deleter &amp;d) // never throws { BOOST_ASSERT(p == 0 || p != m_ptr); this_type(p, d).swap(*this); } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6233 Trac 1.4.3 Ion Gaztañaga Fri, 23 Dec 2011 09:42:17 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6233#comment:1 https://svn.boost.org/trac10/ticket/6233#comment:1 <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">fixed</span> </li> </ul> <p> Thanks, fixed in SVN trunk </p> Ticket