Title
Synch shared_ptr constructors taking movable types
Status
resolved
Section
[util.smartptr.shared.const]
Submitter
INCITS

Created on 2010-08-25.00:00:00 last changed 157 months ago

Messages

Date: 2011-05-21.21:15:19

Proposed resolution:

Add

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

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

Date: 2010-10-24.03:04:13

[ Resolved in Rapperswil by paper N3109. ]

Date: 2010-10-24.03:04:13

Addresses US-108

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

History
Date User Action Args
2011-05-21 21:15:19adminsetmessages: + msg5786
2010-11-19 19:04:45adminsetstatus: nad editorial -> resolved
2010-10-24 03:04:13adminsetmessages: + msg4906
2010-08-25 00:00:00admincreate