Destroy each instance of TARGET_TYPE in the array beginning at the specified begin address and ending immediately before the specified end address. Elide the use of the destructor entirely if (template parameter) TARGET_TYPE is bitwise copyable, i.e. in the overload where the last argument (used only for overload resolution) if of type bsl::true_type.
Declared in <bslalg_arraydestructionprimitives.h>
template<class TARGET_TYPE>
static
void
destroy(
TARGET_TYPE* begin,
TARGET_TYPE* end,
bsl::true_type);