Title
Unique_ptr defect
Status
nad
Section
[unique.ptr.single.modifiers]
Submitter
Alisdair Meredith

Created on 2008-11-27.00:00:00 last changed 91 months ago

Messages

Date: 2017-06-02.00:00:00

[ 2017-06-02 Issues Telecon ]

Resolve as NAD

Date: 2017-06-05.15:41:21

[ 2017-02 in Kona, LEWG recommends NAD ]

Pointer-accepting overloads of reset() are discouraged — the same functionality is available via move-assignment and that is more idiomatic.

Date: 2010-10-21.18:28:33

[ 2009-10 Santa Cruz: ]

Mark as NAD Future.

Date: 2010-10-21.18:28:33

[ Batavia (2009-05): ]

Howard comments that we have the functionality via move-assigment.

Move to Open.

Date: 2008-11-27.00:00:00

If we are supporting stateful deleters, we need an overload for reset that takes a deleter as well.

void reset(pointer p, deleter_type d);

We probably need two overloads to support move-only deleters, and this sounds uncomfortably like the two constructors I have been ignoring for now...

History
Date User Action Args
2017-06-05 15:41:21adminsetmessages: + msg9201
2017-06-05 15:41:21adminsetmessages: + msg9200
2017-06-05 15:41:21adminsetstatus: lewg -> nad
2014-11-24 15:11:58adminsetstatus: nad future -> lewg
2010-10-21 18:28:33adminsetmessages: + msg4441
2010-10-21 18:28:33adminsetmessages: + msg4440
2008-11-27 00:00:00admincreate