This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Resolved status.

### 1407. Synch `shared_ptr` constructors taking movable types

Section: 20.11.3.2 [util.smartptr.shared.const] Status: Resolved Submitter: INCITS Opened: 2010-08-25 Last modified: 2016-01-28

Priority: Not Prioritized

View all other issues in [util.smartptr.shared.const].

View all issues with Resolved status.

Discussion:

Addresses US-108

`shared_ptr` should have the same policy for constructing from `auto_ptr` as `unique_ptr`. Currently it does not.

[ Resolved in Rapperswil by paper N3109. ]

Proposed resolution:

Add

    template <class Y> explicit shared_ptr(auto_ptr<Y>&);

to [util.smartptr.shared.const] (and to the synopsis).