Construct an object at the specified uninitialized address.

Synopsis

Declared in <bslma_allocatortraits.h>

using Base::construct;

Description

Construct an object at p by forwarding args to the constructor, via the underlying std::allocator_traits implementation.

Parameters

Name

Description

a

allocator used for construction if it provides construct

p

address at which to construct the object

args

constructor arguments forwarded to the object type

Created with MrDocs