fromVal overloads

Synopses

Declared in <bslmf_invokeresult.h>

Return the index tag for a bool lvalue reference.

static
bslmf::Tag<e_BOOL>
fromVal(bool& value);

Return the index tag for a char lvalue reference.

static
bslmf::Tag<e_CHAR>
fromVal(char& value);

Return the index tag for a char16_t lvalue reference.

static
bslmf::Tag<e_CHAR16_T>
fromVal(char16_t& value);

Return the index tag for a char32_t lvalue reference.

static
bslmf::Tag<e_CHAR32_T>
fromVal(char32_t& value);

Return the index tag for a char8_t lvalue reference.

static
bslmf::Tag<e_CHAR8_T>
fromVal(char8_t& value);

Return the index tag for a double lvalue reference.

static
bslmf::Tag<e_DOUBLE>
fromVal(double& value);

Return the index tag for a float lvalue reference.

static
bslmf::Tag<e_FLOAT>
fromVal(float& value);

Return the index tag for an int lvalue reference.

static
bslmf::Tag<e_INT>
fromVal(int& value);

Return the index tag for a long lvalue reference.

static
bslmf::Tag<e_LONG>
fromVal(long& value);

Return the index tag for a long double lvalue reference.

static
bslmf::Tag<e_LONG_DOUBLE>
fromVal(long double& value);

Return the index tag for a long long lvalue reference.

static
bslmf::Tag<e_LONG_LONG>
fromVal(long long& value);

Return the index tag for a nullptr_t lvalue reference.

Return the index tag for a short lvalue reference.

static
bslmf::Tag<e_SHORT>
fromVal(short& value);

Return the index tag for a signed char lvalue reference.

static
bslmf::Tag<e_SCHAR>
fromVal(signed char& value);

Return the index tag for an unsigned char lvalue reference.

static
bslmf::Tag<e_UCHAR>
fromVal(unsigned char& value);

Return the index tag for an unsigned int lvalue reference.

static
bslmf::Tag<e_UNSIGNED>
fromVal(unsigned int& value);

Return the index tag for an unsigned long lvalue reference.

static
bslmf::Tag<e_ULONG>
fromVal(unsigned long& value);

Return the index tag for an unsigned long long lvalue reference.

static
bslmf::Tag<e_ULONG_LONG>
fromVal(unsigned long long& value);

Return the index tag for an unsigned short lvalue reference.

static
bslmf::Tag<e_USHORT>
fromVal(unsigned short& value);

Return the index tag for a wchar_t lvalue reference.

static
bslmf::Tag<e_WCHAR_T>
fromVal(wchar_t& value);

Return the index tag for a void * lvalue reference.

static
bslmf::Tag<e_VOIDPTR>
fromVal(void*& value);

Return the index tag for a volatile void * lvalue reference.

static
bslmf::Tag<e_VOLATILE_VOIDPTR>
fromVal(void volatile*& value);

Return the index tag for a const void * lvalue reference.

static
bslmf::Tag<e_CONST_VOIDPTR>
fromVal(void const*& value);

Return the index tag for a const volatile void * lvalue reference.

static
bslmf::Tag<e_CONST_VOLATILE_VOIDPTR>
fromVal(void const volatile*& value);

Return the index tag for an lvalue reference to the specified t_TP.

template<class t_TP>
static
bslmf::Tag<e_OTHER>
fromVal(t_TP& value);

Return the index tag for the specified type t_TP.

template<class t_TP>
static
bslmf::Tag<e_POINTER>
fromVal(t_TP*& value);

Return Value

  • a Tag encoding e_BOOL for the argument type

  • a Tag encoding e_CHAR for the argument type

  • a Tag encoding e_CHAR16_T for the argument type

  • a Tag encoding e_CHAR32_T for the argument type

  • a Tag encoding e_CHAR8_T for the argument type

  • a Tag encoding e_DOUBLE for the argument type

  • a Tag encoding e_FLOAT for the argument type

  • a Tag encoding e_INT for the argument type

  • a Tag encoding e_LONG for the argument type

  • a Tag encoding e_LONG_DOUBLE for the argument type

  • a Tag encoding e_LONG_LONG for the argument type

  • a Tag encoding e_NULLPTR_T for the argument type

  • a Tag encoding e_SHORT for the argument type

  • a Tag encoding e_SCHAR for the argument type

  • a Tag encoding e_UCHAR for the argument type

  • a Tag encoding e_UNSIGNED for the argument type

  • a Tag encoding e_ULONG for the argument type

  • a Tag encoding e_ULONG_LONG for the argument type

  • a Tag encoding e_USHORT for the argument type

  • a Tag encoding e_WCHAR_T for the argument type

  • a Tag encoding e_VOIDPTR for the argument type

  • a Tag encoding e_VOLATILE_VOIDPTR for the argument type

  • a Tag encoding e_CONST_VOIDPTR for the argument type

  • a Tag encoding e_CONST_VOLATILE_VOIDPTR for the argument type

  • a Tag encoding e_OTHER for the argument type

  • a Tag encoding e_POINTER for the argument type

Parameters

Name

Description

value

lvalue whose type is mapped to an index tag

Created with MrDocs