[#BloombergLP-bslalg-ArrayDestructionPrimitives]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::ArrayDestructionPrimitives
:relfileprefix: ../../
:mrdocs:

Namespace for utility functions that destroy arrays of `TARGET&lowbar;TYPE`&period;

== Synopsis

Declared in `&lt;bslalg&lowbar;arraydestructionprimitives&period;h&gt;`

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

== Description

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

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslalg/ArrayDestructionPrimitives/destroy-0d.adoc[`destroy`] 
| `destroy` overloads
| xref:BloombergLP/bslalg/ArrayDestructionPrimitives/scribbleOverMemory.adoc[`scribbleOverMemory`] 
| Overwrite the specified `numBytes` of memory starting at the specified `ptr`&period;
|===



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