[#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&period;

== Synopsis

Declared in `&lt;bslma&lowbar;allocator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
void
deleteObjectRaw(TYPE const* object);
----

== Description

Destroy the specified `object` and then use this allocator to deallocate its memory footprint&period; Do nothing if `object` is a null pointer&period; The behavior is undefined unless `object` was allocated using this allocator, is *not* a secondary base class pointer &hyphen;&hyphen; i&period;e&period;, the address is (numerically) the same as when it was originally dispensed by this allocator, and has not already been deallocated&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *object*
| object to destroy and whose memory to deallocate
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
