BloombergLP::bsltf::StdAllocatorAdaptor::construct

Construct an object of the (template parameter) ELEMENT_TYPE, by forwarding the allocator instance associated with this allocator adaptor, if appropriate, and the specified (variable number of) arguments to the corresponding constructor of ELEMENT_TYPE, at the specified uninitialized memory address. The behavior is undefined unless address is properly aligned for objects of ELEMENT_TYPE.

Synopsis

Declared in <bsltf_stdallocatoradaptor.h>

template<
    class ELEMENT_TYPE,
    class... Args>
void
construct(
    ELEMENT_TYPE* address,
    Args&&... arguments);