BloombergLP::bslalg::ArrayDestructionPrimitives::destroy

Destroy each TARGET_TYPE in [begin, end)] using the destructor.

Synopsis

Declared in <bslalg_arraydestructionprimitives.h>

template<class TARGET_TYPE>
static
void
destroy(
    TARGET_TYPE* begin,
    TARGET_TYPE* end,
    bsl::false_type traits);

Parameters

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