std::weak_ptr::reset

From cppreference.com
 
 
 
 
 
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
  (since C++11)