Same as the preceding copyConstruct overload, for pointer ranges.
Declared in <bslalg_arrayprimitives.h>
template<
class ALLOCATOR,
class SOURCE_TYPE>
static
void
copyConstruct(
bsl::allocator_traits<ALLOCATOR>::pointer toBegin,
SOURCE_TYPE* fromBegin,
SOURCE_TYPE* fromEnd,
ALLOCATOR allocator);
| 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 used to supply memory if required |