This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++11 status.
Section: 220.127.116.11.3 [unique.ptr.single.asgn] Status: C++11 Submitter: Alisdair Meredith Opened: 2009-03-11 Last modified: 2016-02-10
Priority: Not Prioritized
View all other issues in [unique.ptr.single.asgn].
View all issues with C++11 status.
Addresses UK 211 [CD1]
The nullptr_t type was introduced to resolve the null pointer literal problem. It should be used for the assignment operator, as with the constructor and elsewhere through the library.
[ Batavia (2009-05): ]
We agree with the proposed resolution. Move to Tentatively Ready.
Change the synopsis in 18.104.22.168 [unique.ptr.single]:
Change 22.214.171.124.3 [unique.ptr.single.asgn]:
Assigns from the literal 0 or NULL. [Note: The unspecified-pointer-type is often implemented as a pointer to a private data member, avoiding many of the implicit conversion pitfalls. — end note]