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

Utility functions that destroy elements of parameterized type `TYPE`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct DestructionUtil;
----

== Description

This `struct` provides a namespace for a suite of utility functions that destroy elements of the parameterized type `TYPE`&period; Depending on the traits of `TYPE`, the destructor may be invoked or not (i&period;e&period;, optimized away as a no&hyphen;op)&period;

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslma/DestructionUtil/destroy.adoc[`destroy`] 
| Destroy the specified `object` without deallocating its memory&period;
|===



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