[#BloombergLP-bdlma-Pool-deleteObjectRaw] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/Pool.adoc[Pool]::deleteObjectRaw :relfileprefix: ../../../ :mrdocs: Destroy and deallocate `object` using its static type. == Synopsis Declared in `<bdlma_pool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> void deleteObjectRaw(TYPE const* object); ---- == Description Destroy the specified `object` and then use this pool to deallocate its memory footprint. This method has no effect if `object` is 0. The behavior is undefined unless `object` is *not* a secondary base class pointer (i.e., the address is (numerically) the same as when it was originally dispensed by this pool), was allocated using this pool, and has not already been deallocated. == Parameters [cols="1,4"] |=== | Name| Description | *object* | object to destroy and deallocate; may be null |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#