Same as the preceding overload, taking pointer iterators.

Synopsis

Declared in <bslalg_arrayprimitives.h>

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

Parameters

Name

Description

toBegin

beginning of the uninitialized destination range

fromBegin

beginning of the source range

fromEnd

end of the source range (one past the last element)

allocator

allocator passed to element constructors when applicable

Created with MrDocs