Documentation Home >> Headers >> <jss/experimental_atomic.hpp> Header >> std::experimental::atomic_shared_ptr >> std::experimental::atomic_shared_ptr Conversion Assignment Operator

Store a new value in *this.

shared_ptr<T> operator=(shared_ptr<T> p) noexcept;

Effects:

this->store(p,std::memory_order_seq_cst).

Returns:

p.

Throws:

Nothing.

Header

#include <experimental/atomic>

See Also