[#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. This method is automatically invoked by `releaseRef` when the number of shared references reaches zero and should not be explicitly invoked otherwise. Note that this function calls the destructor for the shared object, but does not deallocate its footprint. == Synopsis Declared in `<bslma_sharedptrinplacerep.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void disposeObject() override; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#