Missed use case for nullptr_t

Clause / Subclause / Annex: 
20.7.12.2.3
Para/Table/Figure: 
11
Comment type: 
Te
Comment / justification for change: 

The nullptr_t type was introduced to resolve the null pointer literal problem. It should be used for the assignemnt operator, as with the constructor and elsewhere through the library.

Recommended change: 

Change signature here and in the synopsis to: unique_ptr& operator=(nullptr_t);

Strike the sentance an note before the Effects clause.

MB: 
UK

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Also in 20.7.12.3

Same change needed in the synopsis for unique_ptr.