Documentation Home >> Headers >> <jss/experimental_atomic.hpp> Header >> std::experimental::weak_ptr >> std::experimental::weak_ptr::reset member function

Returns *this to an empty state.

void reset() noexcept;

Effects:
void reset() noexcept{
    weak_ptr temp;
    this->swap(temp);
}
Header

#include <experimental/atomic>

See Also