Same as the preceding overload, taking pointer iterators.

Synopsis

Declared in <bslalg_arrayprimitives.h>

template<
    class TARGET_TYPE,
    class SOURCE_TYPE>
static
void
insert(
    TARGET_TYPE* toBegin,
    TARGET_TYPE* toEnd,
    SOURCE_TYPE* fromBegin,
    SOURCE_TYPE* fromEnd,
    size_type numElements,
    bslma::Allocator* allocator);

Parameters

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

Created with MrDocs