BloombergLP::bsltf::StdTestAllocator::construct

Create an object of (template parameter) ELEMENT_TYPE at the specified address, constructed by forwarding the specified argument1 and the (variable number of) additional specified arguments to the corresponding constructor of ELEMENT_TYPE. The behavior is undefined unless address refers to a block of memory having sufficient size and alignment for an object of ELEMENT_TYPE.

Synopsis

Declared in <bsltf_stdtestallocator.h>

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