[#BloombergLP-bdlma-Deleter-deleteObject] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/Deleter.adoc[Deleter]::deleteObject :relfileprefix: ../../../ :mrdocs: Destroy the specified `instance` and release its memory. == Synopsis Declared in `<bdlma_deleter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void deleteObject(TYPE* instance) = 0; ---- == Description Destroy the specified `instance` based on its static type and return its memory footprint to the appropriate memory manager. Note that a particular implementation is allowed to destroy this deleter itself. == Parameters [cols="1,4"] |=== | Name| Description | *instance* | object to destroy |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#