[#BloombergLP-bslma-StdTestAllocator-destroy]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/StdTestAllocator.adoc[StdTestAllocator]::destroy
:relfileprefix: ../../../
:mrdocs:

Destroy the object at the specified `address`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ELEMENT&lowbar;TYPE&gt;
void
destroy(ELEMENT&lowbar;TYPE* address);
----

== Description

Call the `TYPE` destructor for the object pointed to by the specified `address`&period; Do not directly deallocate any memory&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *address*
| The address of the object to destroy&period;
|===


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