construct overloads
Declared in <bslma_bslallocator.h>
Default-construct a TYPE2 object at the specified p.
template<class TYPE2>
static
void
construct(
allocator_type& m,
TYPE2* p);
» more...
Construct a TYPE2 object at p from the specified arguments.
template<
class TYPE2,
class ARG1,
class... ARGS>
static
void
construct(
allocator_type& m,
TYPE2* p,
ARG1& argument1,
ARGS&&... arguments);
» more...
Construct a TYPE2 object at p using perfect forwarding.
template<
class TYPE2,
class ARG1,
class... ARGS>
static
void
construct(
allocator_type& m,
TYPE2* p,
ARG1&& argument1,
ARGS&&... arguments);
» more...
| Name | Description |
|---|---|
| m | allocator used for construction |
| p | uninitialized storage for the new object |
| argument1 | first constructor argument |
| arguments | remaining constructor arguments |