emplace overloads

Synopses

Declared in <bsltf_templatetestfacility.h>

Create an AllocEmplacableTestType at address from identifier.

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

Same as the preceding overload taking an allocator pointer.

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

Create an EmplacableTestType at address from identifier.

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

Same as the preceding overload taking an allocator pointer.

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

Set the enumeration at address to the value of identifier.

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

Same as the preceding overload taking an allocator pointer.

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

Set the method pointer at address to the value of identifier.

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

Same as the preceding overload taking an allocator pointer.

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

Set the character at address to the value of identifier.

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

Same as the preceding overload taking an allocator pointer.

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

Same as the related overload for signed char.

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

Same as the preceding overload taking an allocator pointer.

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

Same as the related overload for unsigned char.

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

Same as the preceding overload taking an allocator pointer.

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

Create at address a string pointer unique for identifier.

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

Same as the preceding overload taking an allocator pointer.

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

Create a TYPE object at address unique for identifier.

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

Same as the preceding overload taking an allocator pointer.

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

Create a TYPE pointer at address unique for identifier.

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

Same as the preceding overload taking an allocator pointer.

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

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