The shared_from_this
member function returns a std::experimental::shared_ptr
instance that owns
this
if there are already
std::experimental::shared_ptr
instances that own
this
. The new instance will
share ownership with the existing ones.
There is at least one std::experimental::shared_ptr
instance that
owns this
.
A std::experimental::shared_ptr
instance that
holds this
, and shares
ownership with the existing std::experimental::shared_ptr
instances that
own this
.
Nothing.
#include <experimental/atomic>