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