BloombergLP::bslalg::DequePrimitives::destruct

destruct overloads

Synopses

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...

Parameters

NameDescription
beginbeginning of the range of elements to destroy
endend of the range of elements to destroy (one past the last)
allocatorallocator used to destroy elements
traitsunused trait tag for overload resolution