[#bsl-Deque_Guard-2constructor]
= xref:bsl.adoc[bsl]::xref:bsl/Deque_Guard.adoc[Deque&lowbar;Guard]::Deque&lowbar;Guard
:relfileprefix: ../../
:mrdocs:

Initializes object to guard 0 items from the specified `deque`&period; This guards either the tail or the head, as determined by the specified `isTail` boolean&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;deque&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Deque&lowbar;Guard(
    xref:bsl/deque-0c.adoc[deque&lt;VALUE&lowbar;TYPE, ALLOCATOR&gt;]* deque,
    bool isTail);
----


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