Map a type‐index enumerator to its corresponding C++ type.

Synopsis

Declared in <bslmf_invokeresult.h>

template<int t_INDEX>
struct InvokeResult_Type;

Description

Metafunction to convert a type index back to a type. For each specialization of this struct, the type member will be the type corresponding to index. For example, if index is e_UCHAR, then InvokeResult_Type<index>::type is unsigned char.

Specializations

Name

Description

InvokeResult_Type<InvokeResult_Index::e_BOOL>

Specialization of InvokeResult_Type for bool.

InvokeResult_Type<InvokeResult_Index::e_CHAR>

Specialization of InvokeResult_Type for char.

InvokeResult_Type<InvokeResult_Index::e_CHAR16_T>

Specialization of InvokeResult_Type for char16_t.

InvokeResult_Type<InvokeResult_Index::e_CHAR32_T>

Specialization of InvokeResult_Type for char32_t.

InvokeResult_Type<InvokeResult_Index::e_CHAR8_T>

Specialization of InvokeResult_Type for char8_t.

InvokeResult_Type<InvokeResult_Index::e_CONST_VOIDPTR>

Specialization of InvokeResult_Type for const void *.

InvokeResult_Type<InvokeResult_Index::e_CONST_VOLATILE_VOIDPTR>

Specialization of InvokeResult_Type for const volatile void *.

InvokeResult_Type<InvokeResult_Index::e_DOUBLE>

Specialization of InvokeResult_Type for double.

InvokeResult_Type<InvokeResult_Index::e_FLOAT>

Specialization of InvokeResult_Type for float.

InvokeResult_Type<InvokeResult_Index::e_INT>

Specialization of InvokeResult_Type for int.

InvokeResult_Type<InvokeResult_Index::e_LONG>

Specialization of InvokeResult_Type for long.

InvokeResult_Type<InvokeResult_Index::e_LONG_DOUBLE>

Specialization of InvokeResult_Type for long double.

InvokeResult_Type<InvokeResult_Index::e_LONG_LONG>

Specialization of InvokeResult_Type for long long.

InvokeResult_Type<InvokeResult_Index::e_NULLPTR_T>

Specialization of InvokeResult_Type for bsl::nullptr_t.

InvokeResult_Type<InvokeResult_Index::e_OTHER>

Specialization of InvokeResult_Type for InvokeResultDeductionFailed.

InvokeResult_Type<InvokeResult_Index::e_POINTER>

Specialization of InvokeResult_Type for void *.

InvokeResult_Type<InvokeResult_Index::e_SCHAR>

Specialization of InvokeResult_Type for signed char.

InvokeResult_Type<InvokeResult_Index::e_SHORT>

Specialization of InvokeResult_Type for short.

InvokeResult_Type<InvokeResult_Index::e_UCHAR>

Specialization of InvokeResult_Type for unsigned char.

InvokeResult_Type<InvokeResult_Index::e_ULONG>

Specialization of InvokeResult_Type for unsigned long.

InvokeResult_Type<InvokeResult_Index::e_ULONG_LONG>

Specialization of InvokeResult_Type for unsigned long long.

InvokeResult_Type<InvokeResult_Index::e_UNSIGNED>

Specialization of InvokeResult_Type for unsigned.

InvokeResult_Type<InvokeResult_Index::e_USHORT>

Specialization of InvokeResult_Type for unsigned short.

InvokeResult_Type<InvokeResult_Index::e_VOID>

Specialization of InvokeResult_Type for void.

InvokeResult_Type<InvokeResult_Index::e_VOIDPTR>

Specialization of InvokeResult_Type for void *.

InvokeResult_Type<InvokeResult_Index::e_VOLATILE_VOIDPTR>

Specialization of InvokeResult_Type for volatile void *.

InvokeResult_Type<InvokeResult_Index::e_WCHAR_T>

Specialization of InvokeResult_Type for wchar_t.

Created with MrDocs