Re: [Boost-bugs] [Boost C++ Libraries] #10798: boost::movelib::unique_ptr resolves typedef pointer with the deletor's

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10798: boost::movelib::unique_ptr resolves typedef pointer with the deletor's
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-12-16 11:02:22


#10798: boost::movelib::unique_ptr resolves typedef pointer with the deletor's
-------------------------------------------------+-------------------------
  Reporter: Matteo Settenvini | Owner: igaztanaga
  <matteo.settenvini@…> | Status: closed
      Type: Bugs | Component: move
 Milestone: To Be Determined | Severity: Problem
   Version: Boost 1.57.0 | Keywords:
Resolution: wontfix |
-------------------------------------------------+-------------------------

Comment (by Matteo Settenvini <matteo.settenvini@…>):

 Thanks, but then it wouldn't work with upcasting (and downcasting too). I
 would end up with a {{{shared_ptr<Derived, new_deleter<Derived>>}}} which
 is not automatically convertible to a {{{shared_ptr<Base,
 new_deleter<Base>>}}}.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10798#comment:4>
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:17 UTC