emplace overloads
Declared in <bsltf_templatetestfacility.h>
Create an AllocEmplacableTestType at address from identifier.
template<class ALLOCATOR>
static
void
emplace(
AllocEmplacableTestType* address,
int identifier,
ALLOCATOR allocator);
» more...
Same as the preceding overload taking an allocator pointer.
template<class ALLOCATOR>
static
void
emplace(
AllocEmplacableTestType* address,
int identifier,
ALLOCATOR* allocator);
» more...
Create an EmplacableTestType at address from identifier.
template<class ALLOCATOR>
static
void
emplace(
EmplacableTestType* address,
int identifier,
ALLOCATOR allocator);
» more...
Same as the preceding overload taking an allocator pointer.
template<class ALLOCATOR>
static
void
emplace(
EmplacableTestType* address,
int identifier,
ALLOCATOR* allocator);
» more...
Set the enumeration at the specified address to the value of the specified identifier. The specified allocator is not used. The behavior is undefined unless 0 <= identifier < 128.
template<class ALLOCATOR>
static
void
emplace(
EnumeratedTestType::Enum* address,
int identifier,
ALLOCATOR allocator);
» more...
Same as the preceding overload taking an allocator pointer.
template<class ALLOCATOR>
static
void
emplace(
EnumeratedTestType::Enum* address,
int identifier,
ALLOCATOR* allocator);
» more...
Set the pointer-to-method at the specified address to the value of the specified identifier. The specified allocator is not used. The behavior is undefined unless 0 <= identifier < 128.
template<class ALLOCATOR>
static
void
emplace(
MethodPtr* address,
int identifier,
ALLOCATOR allocator);
» more...
Same as the preceding overload taking an allocator pointer.
template<class ALLOCATOR>
static
void
emplace(
MethodPtr* address,
int identifier,
ALLOCATOR* allocator);
» more...
Set the character object at the specified address to the value of the specified identifier. The specified allocator is not used. The behavior is undefined unless 0 <= identifier < 128.
template<class ALLOCATOR>
static
void
emplace(
char* address,
int identifier,
ALLOCATOR allocator);
» more...
Same as the preceding overload taking an allocator pointer.
template<class ALLOCATOR>
static
void
emplace(
char* address,
int identifier,
ALLOCATOR* allocator);
» more...
Same as the related overload for signed char.
template<class ALLOCATOR>
static
void
emplace(
signed char* address,
int identifier,
ALLOCATOR allocator);
» more...
Same as the preceding overload taking an allocator pointer.
template<class ALLOCATOR>
static
void
emplace(
signed char* address,
int identifier,
ALLOCATOR* allocator);
» more...
Same as the related overload for unsigned char.
template<class ALLOCATOR>
static
void
emplace(
unsigned char* address,
int identifier,
ALLOCATOR allocator);
» more...
Same as the preceding overload taking an allocator pointer.
template<class ALLOCATOR>
static
void
emplace(
unsigned char* address,
int identifier,
ALLOCATOR* allocator);
» more...
Create at the specified address a pointer to a null-terminated string that will parse as having the same value as the specified identifier. The specified allocator is not used. The behavior is undefined unless 0 <= identifier < 128.
template<class ALLOCATOR>
static
void
emplace(
char const** address,
int identifier,
ALLOCATOR allocator);
» more...
Same as the preceding overload taking an allocator pointer.
template<class ALLOCATOR>
static
void
emplace(
char const** address,
int identifier,
ALLOCATOR* allocator);
» more...
Create an object of the parameterized TYPE at the specified address whose state is unique for the specified identifier. The behavior is undefined unless 0 <= identifier < 128 and TYPE is contained in the macro BSLTF_TEMPLATETESTFACILITY_TEST_TYPES_ALL.
template<
class TYPE,
class ALLOCATOR>
static
void
emplace(
TYPE* address,
int identifier,
ALLOCATOR allocator);
» more...
Same as the preceding overload taking an allocator pointer.
template<
class TYPE,
class ALLOCATOR>
static
void
emplace(
TYPE* address,
int identifier,
ALLOCATOR* allocator);
» more...
Create a pointer to the parameterized TYPE at the specified address whose value is unique for the specified identifier. 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.
template<
class TYPE,
class ALLOCATOR>
static
void
emplace(
TYPE** address,
int identifier,
ALLOCATOR allocator);
» more...
Same as the preceding overload taking an allocator pointer.
template<
class TYPE,
class ALLOCATOR>
static
void
emplace(
TYPE** address,
int identifier,
ALLOCATOR* allocator);
» more...