long use_count() const;
Returns the number of different
shared_ptr instances (this included) managing the current object. If there is no managed object, 0 is returned.
the number of
shared_ptr instances managing the current object or 0 if there is no managed object.
sp1.use_count() == 1 fun: sp.use_count() == 2