Same as the preceding copyConstruct overload, for pointer ranges.
Synopsis
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);
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 used to supply memory if required |
Created with MrDocs