[#bsl-Deque_Guard-2constructor] = xref:bsl.adoc[bsl]::xref:bsl/Deque_Guard.adoc[Deque_Guard]::Deque_Guard :relfileprefix: ../../ :mrdocs: Create a guard for uncommitted elements at one end of `deque`. == Synopsis Declared in `<bslstl_deque.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- Deque_Guard( xref:bsl/deque-0c.adoc[deque<VALUE_TYPE, ALLOCATOR>]* deque, bool isTail); ---- == Description Initializes object to guard 0 items from the specified `deque`. This guards either the tail or the head, as determined by the specified `isTail` boolean. == Parameters [cols="1,4"] |=== | Name| Description | *deque* | deque whose uncommitted elements are guarded | *isTail* | `true` to guard the back; `false` to guard the front |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#