construct overloads
Synopses
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);
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);
Parameters
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 |
Created with MrDocs