[#BloombergLP-bslalg-DequePrimitives-01-destruct-04]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/DequePrimitives-01.adoc[DequePrimitives]::destruct
:relfileprefix: ../../../
:mrdocs:

TBD&colon; fix comment Call the destructor on each of the elements of a deque of parameterized `VALUE&lowbar;TYPE` in the specified range `&lsqb;begin &period;&period; end)&rsqb;`&period; The behavior is undefined unless `begin &lt;&equals; end`&period; Note that this does not deallocate any memory (except memory deallocated by the element destructor calls)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ALLOCATOR&gt;
static
void
destruct(
    xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator] begin,
    xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator] end,
    ALLOCATOR allocator);
----


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