W3cubDocs

/C++

std::weak_ptr::reset

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).

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/memory/weak_ptr/reset