std::weak_ptr<T>::reset

< cpp‎ | memory‎ | weak ptr
void reset() noexcept;
(C++11 起)

释放被管理对象的所有权。调用后 *this 不管理对象。

参数

(无)

返回值

(无)