Create a guard for uncommitted elements at one end of deque.
Declared in <bslstl_deque.h>
Deque_Guard(
deque<VALUE_TYPE, ALLOCATOR>* deque,
bool isTail);
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.
| Name | Description |
|---|---|
| deque | deque whose uncommitted elements are guarded |
| isTail | true to guard the back; false to guard the front |