Re: [Boost-bugs] [Boost C++ Libraries] #6625: Support conversion from std::unique_ptr to boost::shared_ptr

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6625: Support conversion from std::unique_ptr to boost::shared_ptr
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-28 14:52:22


#6625: Support conversion from std::unique_ptr to boost::shared_ptr
---------------------------------+------------------------------------------
  Reporter: arkadiy_s@… | Owner: pdimov
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: smart_ptr
   Version: Boost 1.49.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------+------------------------------------------

Comment (by arkadiy_s@…):

 Replying to [comment:2 Michel Morin <mimomorin@…>]:
> In C++11, `std::shared_ptr` has the following constructor
> {{{
> template <class Y, class D> shared_ptr(unique_ptr<Y, D>&& r);
> }}}

 I want similar constructor for boost::shared_ptr

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