[#BloombergLP-bslma-SharedPtrRep-hasUniqueOwner]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/SharedPtrRep.adoc[SharedPtrRep]::hasUniqueOwner
:relfileprefix: ../../../
:mrdocs:

Return `true` if there is only one shared reference and no weak references to the object referred to by this representation, and `false` otherwise&period;

== Synopsis

Declared in `&lt;bslma&lowbar;sharedptrrep&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
hasUniqueOwner() const;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
