Documentation Home >> Headers >> <jss/experimental_atomic.hpp> Header >> std::experimental::atomic_weak_ptr >> std::experimental::atomic_weak_ptr::operator weak_ptr<T> Conversion Operator

Load the value stored in *this.

operator weak_ptr<T>() const noexcept;

Returns:

this->load(std::memory_order_seq_cst).

Throws:

Nothing.

Header

#include <experimental/atomic>

See Also