bsl::allocator_traits<allocator<TYPE>>::construct

Construct a TYPE2 object at p from the specified arguments.

Synopsis

Declared in <bslma_bslallocator.h>

template<
    class TYPE2,
    class ARG1,
    class... ARGS>
static
void
construct(
    allocator_type& m,
    TYPE2* p,
    ARG1& argument1,
    ARGS&&... arguments);

Parameters

NameDescription
mallocator used for construction
puninitialized storage for the new object
argument1first constructor argument
argumentsremaining constructor arguments