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

Return a &quot;snapshot&quot; of the current number of shared references to the shared object referred to by this representation object&period;

== Synopsis

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

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


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