copyConstruct overloads
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);
» more...
Same as the preceding overload, ignoring allocator.
template<class TARGET_TYPE>
static
void
copyConstruct(
TARGET_TYPE* address,
TARGET_TYPE const& original,
void* allocator);
» more...
| Name | Description |
|---|---|
| address | address of uninitialized storage |
| original | object to copy from |
| allocator | allocator to use if the type uses an allocator |