Destructively move elements into an uninitialized array.
Synopses
Declared in <bslalg_arrayprimitives.h>
Destructively move elements into an uninitialized array.
template<class ALLOCATOR>
static
void
destructiveMove(
bsl::allocator_traits<ALLOCATOR>::pointer toBegin,
bsl::allocator_traits<ALLOCATOR>::pointer fromBegin,
bsl::allocator_traits<ALLOCATOR>::pointer fromEnd,
ALLOCATOR allocator);
Destructively move elements into an uninitialized array.
template<class TARGET_TYPE>
static
void
destructiveMove(
TARGET_TYPE* toBegin,
TARGET_TYPE* fromBegin,
TARGET_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 used to supply memory if required |
Created with MrDocs