Library implementations are not required to keep a count of any particular set of owners, and thus it may not be efficient to call this function. To check specifically whether use_count is 1, you can use member unique instead, which may be faster.

Parameters

none

Return value

The number of objects sharing ownership over the same pointer as this.