Create a TYPE pointer at address unique for identifier.
Declared in <bsltf_templatetestfacility.h>
template<
class TYPE,
class ALLOCATOR>
static
void
emplace(
TYPE** address,
int identifier,
ALLOCATOR allocator);
The behavior is undefined unless 0 <= identifier < 128. Note that no object is created at the address of the returned pointer, nor is it guaranteed to be a valid address for an object (or function). Also note that the same address may be returned for different allocators, and is guaranteed to be unique only with respect to the identifier value.
| Name | Description |
|---|---|
| address | storage for the pointer value |
| identifier | integer identity encoded as a pointer value |
| allocator | unused allocator argument |