construct overloads
Declared in <bslma_constructionutil.h>
Default-construct a TARGET_TYPE object at the specified address.
template<
class TARGET_TYPE,
class ALLOCATOR>
static
void
construct(
TARGET_TYPE* address,
ALLOCATOR const& allocator);
» more...
Construct a TARGET_TYPE at address from the given arguments.
template<
class TARGET_TYPE,
class ALLOCATOR,
class ARG1,
class... ARGS>
static
void
construct(
TARGET_TYPE* address,
ALLOCATOR const& allocator,
ARG1&& argument1,
ARGS&&... arguments);
» more...
| Name | Description |
|---|---|
| address | uninitialized storage for the new object |
| allocator | allocator supplied to the constructor, if applicable |
| argument1 | first constructor argument |
| arguments | remaining constructor arguments |