cpp/memory/weak ptr/use count

Returns the number of instances that share ownership of the managed object, or  if the managed object has already been deleted, i.e.  is empty.

Parameters
(none)

Return value
The number of instances sharing the ownership of the managed object at the instant of the call.