Referencestdweak_ptrreset member function std::weak_ptr::reset Header<memory>Draft[util.smartptr.weak.general]Scopestd::weak_ptrcppreferencestd::weak_ptr::reset ↗ Synopsis constexpr void reset() noexcept;