20 General utilities library [utilities]

20.7 Smart pointers [smartptr]

20.7.1 Class template unique_ptr [unique.ptr]

20.7.1.3 unique_ptr for array objects with a runtime length [unique.ptr.runtime]

20.7.1.3.3 unique_ptr modifiers [unique.ptr.runtime.modifiers]

void reset(pointer p = pointer()) noexcept; void reset(nullptr_t p) noexcept;

Effects: If get() == nullptr there are no effects. Otherwise get_deleter()(get()).

Postcondition: get() == p.