Create a guard for the specified initialized deque element range.
Declared in <bslalg_dequeprimitives.h>
DequePrimitives_DequeElementGuard(
Iterator const& begin,
Iterator const& end,
ALLOCATOR allocator);
Create a deque exception guard object for the sequence of elements of the parameterized VALUE_TYPE delimited by the specified range [begin .. end)]. The behavior is undefined unless begin <= end and unless each element in the range [begin .. end)] has been initialized.
| Name | Description |
|---|---|
| begin | beginning of the guarded element range |
| end | end of the guarded element range (one past the last) |
| allocator | allocator used to destroy guarded elements |