1407. Synch shared_ptr constructors taking movable types

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

Priority: Not Prioritized

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

View all issues with Resolved status.


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:


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

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