destruct overloads
Declared in <bslalg_dequeprimitives.h>
Destroy each element in the specified deque range.
template<class ALLOCATOR>
static
void
destruct(
Iterator begin,
Iterator end,
ALLOCATOR allocator);
» more...
Same as the related overload above for destruct.
template<class ALLOCATOR>
static
void
destruct(
Iterator begin,
Iterator end,
ALLOCATOR allocator,
bsl::integral_constant<int, BSLALG_DEQUEPRIMITIVES_BITWISE_COPYABLE_TRAITS> traits);
» more...
Destroy each element in the specified deque range (nil traits).
template<class ALLOCATOR>
static
void
destruct(
Iterator begin,
Iterator end,
ALLOCATOR allocator,
bsl::integral_constant<int, BSLALG_DEQUEPRIMITIVES_NIL_TRAITS> traits);
» more...
| Name | Description |
|---|---|
| begin | beginning of the range of elements to destroy |
| end | end of the range of elements to destroy (one past the last) |
| allocator | allocator used to destroy elements |
| traits | unused trait tag for overload resolution |