The expired
member function
returns true
if there are
no std::experimental::shared_ptr
or std::experimental::atomic_shared_ptr
instances
that share ownership with *this
.
bool expired() const noexcept;
this->use_count()==0
.
Nothing
#include <experimental/atomic>