std::weak_ptr::reset

From cppreference.com
< cpp‎ | memory‎ | weak ptr
 
 
 
 
 
void reset();
(since C++11)

Releases the reference to the managed object. After the call *this manages no object.

[edit] Parameters

(none)

[edit] Return value

(none)

[edit] Exceptions

noexcept specification:  
noexcept