Same as the preceding insert overload, taking pointer iterators.
Declared in <bslalg_arrayprimitives.h>
template<
class ALLOCATOR,
class SOURCE_TYPE>
static
void
insert(
bsl::allocator_traits<ALLOCATOR>::pointer toBegin,
bsl::allocator_traits<ALLOCATOR>::pointer toEnd,
SOURCE_TYPE* fromBegin,
SOURCE_TYPE* fromEnd,
size_type numElements,
ALLOCATOR allocator);
| Name | Description |
|---|---|
| toBegin | insertion position within the destination array |
| toEnd | end of the populated destination range |
| fromBegin | beginning of the source range to insert |
| fromEnd | end of the source range to insert |
| numElements | number of elements to insert from the source range |
| allocator | allocator used to supply memory if required |