BloombergLP::bsltf::TemplateTestFacility::getIdentifier

Return the integer identifier that uniquely identifies object.

Synopsis

Declared in <bsltf_templatetestfacility.h>

template<class TYPE>
static
int
getIdentifier(TYPE const& object);

Description

The behavior is undefined unless object could be created from the TemplateTestFacility::create class method template.

Specializations

NameDescription
getIdentifier<AllocBitwiseMoveableTestType> Return the integer identifier that uniquely identifies object.
getIdentifier<AllocEmplacableTestType> Return the integer identifier that uniquely identifies object.
getIdentifier<AllocTestType> Return the integer identifier that uniquely identifies object.
getIdentifier<BitwiseCopyableTestType> Return the integer identifier that uniquely identifies object.
getIdentifier<BitwiseMoveableTestType> Return the integer identifier that uniquely identifies object.
getIdentifier<EmplacableTestType> Return the integer identifier that uniquely identifies object.
getIdentifier<int(TemplateTestFacility_StubClass::*)()> Return the integer identifier for the specified method pointer.
getIdentifier<MovableAllocTestType> Return the integer identifier that uniquely identifies object.
getIdentifier<MovableTestType> Return the integer identifier that uniquely identifies object.
getIdentifier<MoveOnlyAllocTestType> Return the integer identifier that uniquely identifies object.
getIdentifier<NonAssignableTestType> Return the integer identifier that uniquely identifies object.
getIdentifier<NonCopyConstructibleTestType> Return the integer identifier that uniquely identifies object.
getIdentifier<NonDefaultConstructibleTestType> Return the integer identifier that uniquely identifies object.
getIdentifier<NonEqualComparableTestType> Return the integer identifier that uniquely identifies object.
getIdentifier<NonOptionalAllocTestType> Return the integer identifier that uniquely identifies object.
getIdentifier<NonTypicalOverloadsTestType> Return the integer identifier that uniquely identifies object.
getIdentifier<SimpleTestType> Return the integer identifier that uniquely identifies object.
getIdentifier<UnionTestType> Return the integer identifier that uniquely identifies object.
getIdentifier<WellBehavedMoveOnlyAllocTestType> Return the integer identifier that uniquely identifies object.

Return Value

the integer identifier of object

Parameters

NameDescription
objectobject whose identifier is requested