Re: [Boost-bugs] [Boost C++ Libraries] #5381: get_deleter<D>(ptr) needs D to be exactly known

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5381: get_deleter<D>(ptr) needs D to be exactly known
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-07 18:42:47


#5381: get_deleter<D>(ptr) needs D to be exactly known
----------------------------------------+-----------------------------------
  Reporter: christian.kotz@… | Owner: pdimov
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: smart_ptr
   Version: Boost 1.45.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------+-----------------------------------

Comment (by anonymous):

 A solution could be to expose some internals to derived classes of
 ::boost::shared_ptr via protected, not private access control. This will
 on one side not endanger usage of shared_ptr, while giving implementations
 based on shared_ptr access (implementation is inherited via non public,
 e.g. private inheritance).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5381#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:06 UTC