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

933. Unique_ptr defect

Section: [unique.ptr.single.modifiers] Status: NAD Submitter: Alisdair Meredith Opened: 2008-11-27 Last modified: 2017-06-15

Priority: Not Prioritized

View all other issues in [unique.ptr.single.modifiers].

View all issues with NAD status.


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...

[ Batavia (2009-05): ]

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

Move to Open.

[ 2009-10 Santa Cruz: ]

Mark as NAD Future.

[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.

[2017-06-02 Issues Telecon]

Resolve as NAD

Proposed resolution: