Move-construct elements from a range into an uninitialized array.
Declared in <bslalg_arrayprimitives.h>
Move-construct elements from a range into an uninitialized array.
template<class ALLOCATOR>
static
void
moveConstruct(
bsl::allocator_traits<ALLOCATOR>::pointer toBegin,
bsl::allocator_traits<ALLOCATOR>::pointer fromBegin,
bsl::allocator_traits<ALLOCATOR>::pointer fromEnd,
ALLOCATOR allocator);
» more...
Move-construct elements from a range into an uninitialized array.
template<class TARGET_TYPE>
static
void
moveConstruct(
TARGET_TYPE* toBegin,
TARGET_TYPE* fromBegin,
TARGET_TYPE* fromEnd,
bslma::Allocator* allocator);
» more...
| 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 |