[#BloombergLP-bslma-Allocator-deleteObjectRaw-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/Allocator.adoc[Allocator]::deleteObjectRaw :relfileprefix: ../../../ :mrdocs: Destroy `object` and deallocate its memory footprint. == Synopsis Declared in `<bslma_allocator.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 allocator to deallocate its memory footprint. Do nothing if `object` is a null pointer. The behavior is undefined unless `object` was allocated using this allocator, is *not* a secondary base class pointer ‐‐ i.e., the address is (numerically) the same as when it was originally dispensed by this allocator, and has not already been deallocated. == Parameters [cols="1,4"] |=== | Name| Description | *object* | object to destroy and whose memory to deallocate |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#