Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1924: sp_techniques clarity
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-14 13:45:50
#1924: sp_techniques clarity
-------------------------------+--------------------------------------------
Reporter: dave | Owner: pdimov
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: smart_ptr
Version: Boost 1.35.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Comment(by Jonathan Wakely <jwakely.boost_at_[hidden]>):
If the deleter isn't also private then it doesn't solve the problem, as
{{{X::deleter()( p.get );}}} will still work.
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.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/1924#comment:3> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC