[#BloombergLP-bslma-SharedPtrInplaceRep-disposeObject]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/SharedPtrInplaceRep.adoc[SharedPtrInplaceRep]::disposeObject
:relfileprefix: ../../../
:mrdocs:

Destroy the object being referred to by this representation&period; This method is automatically invoked by `releaseRef` when the number of shared references reaches zero and should not be explicitly invoked otherwise&period; Note that this function calls the destructor for the shared object, but does not deallocate its footprint&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
disposeObject() override;
----


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