Create a TYPE object at address unique for identifier.

Synopsis

Declared in <bsltf_templatetestfacility.h>

template<
    class TYPE,
    class ALLOCATOR>
static
void
emplace(
    TYPE* address,
    int identifier,
    ALLOCATOR allocator);

Description

The behavior is undefined unless 0 <= identifier < 128 and TYPE is contained in the macro BSLTF_TEMPLATETESTFACILITY_TEST_TYPES_ALL.

Parameters

Name

Description

address

uninitialized storage for the object

identifier

integer identity used to initialize the object

allocator

allocator supplied to the constructor

Created with MrDocs