BloombergLP::bslalg::ArrayPrimitives::copyConstruct

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

NameDescription
toBeginbeginning of the uninitialized destination range
fromBeginbeginning of the source range
fromEndend of the source range (one past the last element)
allocatorallocator passed to element constructors when applicable