get the use count of the target object. @return The number of shared_ptr instances pointing to the target, or 0 if the target has been destroyed.
| 135 | /// @return The number of shared_ptr instances pointing to the target, |
| 136 | /// or 0 if the target has been destroyed. |
| 137 | long use_count() const { return inner_->weak.use_count(); } |
| 138 | |
| 139 | /// get the underlying weak_ptr. |
| 140 | /// |