moveConstruct overloads
Synopses
Declared in <bslalg_scalarprimitives.h>
Move‐construct a TARGET_TYPE at address from original.
template<class TARGET_TYPE>
static
void
moveConstruct(
TARGET_TYPE* address,
TARGET_TYPE& original,
bslma::Allocator* allocator);
Same as the preceding overload, ignoring allocator.
template<class TARGET_TYPE>
static
void
moveConstruct(
TARGET_TYPE* address,
TARGET_TYPE& original,
void* allocator);
Parameters
Name |
Description |
address |
address of uninitialized storage |
original |
object to move from |
allocator |
allocator to use if the type uses an allocator |
Created with MrDocs