Same as the preceding destroy overload, for non‐bitwise‐copyable types.
Synopsis
Declared in <bslalg_arraydestructionprimitives.h>
template<
class TARGET_TYPE,
class ALLOCATOR>
static
void
destroy(
TARGET_TYPE* begin,
TARGET_TYPE* end,
ALLOCATOR allocator,
bsl::false_type traits);
Parameters
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 |
Created with MrDocs