[#BloombergLP-bslalg-DequePrimitives_DequeElementGuard-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/DequePrimitives_DequeElementGuard.adoc[DequePrimitives&lowbar;DequeElementGuard]::DequePrimitives&lowbar;DequeElementGuard
:relfileprefix: ../../../
:mrdocs:

Create a deque exception guard object for the sequence of elements of the parameterized `VALUE&lowbar;TYPE` delimited by the specified range `&lsqb;begin &period;&period; end)&rsqb;`&period; The behavior is undefined unless `begin &lt;&equals; end` and unless each element in the range `&lsqb;begin &period;&period; end)&rsqb;` has been initialized&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
DequePrimitives&lowbar;DequeElementGuard(
    xref:BloombergLP/bslalg/DequePrimitives_DequeElementGuard/Iterator.adoc[Iterator] const& begin,
    xref:BloombergLP/bslalg/DequePrimitives_DequeElementGuard/Iterator.adoc[Iterator] const& end,
    ALLOCATOR allocator);
----


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