BloombergLP::bsltf::TemplateTestFacility::emplace

Set the enumeration at address to the value of identifier.

Synopsis

Declared in <bsltf_templatetestfacility.h>

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

Description

The specified allocator is not used. The behavior is undefined unless 0 <= identifier < 128.

Parameters

NameDescription
addressstorage for the enumeration value
identifierinteger identity used as the enumeration value
allocatorunused allocator argument