Create a guard for the specified external deque element range.
Declared in <bslalg_dequeprimitives.h>
DequePrimitives_ExternalDequeElementGuard(
Iterator* begin,
Iterator* 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 | pointer to the beginning iterator of the guarded range |
| end | pointer to the end iterator of the guarded range |
| allocator | allocator used to destroy guarded elements |