std::weak_ptr<T>::reset (3) - Linux Manuals

std::weak_ptr<T>::reset: std::weak_ptr<T>::reset

NAME

std::weak_ptr<T>::reset - std::weak_ptr<T>::reset

Synopsis


void reset() noexcept; (since C++11)


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

Parameters


(none)

Return value


(none)