[#BloombergLP-bslma-SharedPtrInplaceRep-disposeRep] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/SharedPtrInplaceRep.adoc[SharedPtrInplaceRep]::disposeRep :relfileprefix: ../../../ :mrdocs: Deallocate the memory associated with this representation object (including the shared object's footprint). This method is automatically invoked by `releaseRef` and `releaseWeakRef` when the number of weak references and the number of shared references both reach zero and should not be explicitly invoked otherwise. The behavior is undefined unless `disposeObject` has already been called for this representation. Note that this `disposeRep` method effectively serves as the representation object's destructor. == Synopsis Declared in `<bslma_sharedptrinplacerep.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void disposeRep() override; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#