Build an object of the parameterized TARGET_TYPE in the uninitialized memory at the specified address. Use the TARGET_TYPE constructor TARGET_TYPE(ARG1 const&, ...) taking the specified a1 up to a14 arguments of the respective parameterized ARG1 up to ARG14 types. If the specified allocator is based on bslma::Allocator and TARGET_TYPE takes an allocator constructor argument, then allocator is passed to the TARGET_TYPE constructor in the manner appropriate to the traits bslmf::UsesAllocatorArgT and blsma::UsesBslmaAllocator.

Synopsis

Declared in <bslalg_scalarprimitives.h>

template<class TARGET_TYPE>
static
void
construct(
    TARGET_TYPE* address,
    bslma::Allocator* allocator);

Created with MrDocs