std::weak_ptr::~weak_ptr

From cppreference.com
 
 
 
 
 
~weak_ptr();
(since C++11)

Destroys the weak_ptr object. Results in no effect to the managed object.