[#BloombergLP-bslmf-InvokeResult_Index-fromVal-024] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::xref:BloombergLP/bslmf/InvokeResult_Index.adoc[InvokeResult_Index]::fromVal :relfileprefix: ../../../ :mrdocs: `fromVal` overloads == Synopses Declared in `<bslmf_invokeresult.h>` Return the index tag for a `bool` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_BOOL>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0c3.adoc[fromVal](bool& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0c3.adoc[_» more..._]# Return the index tag for a `char` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_CHAR>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0684.adoc[fromVal](char& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0684.adoc[_» more..._]# Return the index tag for a `char16_t` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_CHAR16_T>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0ae.adoc[fromVal](char16_t& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0ae.adoc[_» more..._]# Return the index tag for a `char32_t` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_CHAR32_T>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f29.adoc[fromVal](char32_t& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f29.adoc[_» more..._]# Return the index tag for a `char8_t` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_CHAR8_T>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0b1d.adoc[fromVal](char8_t& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0b1d.adoc[_» more..._]# Return the index tag for a `double` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_DOUBLE>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f1.adoc[fromVal](double& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f1.adoc[_» more..._]# Return the index tag for a `float` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_FLOAT>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-04e.adoc[fromVal](float& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-04e.adoc[_» more..._]# Return the index tag for an `int` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_INT>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f22.adoc[fromVal](int& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f22.adoc[_» more..._]# Return the index tag for a `long` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_LONG>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0a1.adoc[fromVal](long& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0a1.adoc[_» more..._]# Return the index tag for a `long double` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_LONG_DOUBLE>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0a2.adoc[fromVal](long double& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0a2.adoc[_» more..._]# Return the index tag for a `long long` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_LONG_LONG>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0b8.adoc[fromVal](long long& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0b8.adoc[_» more..._]# Return the index tag for a `nullptr_t` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_NULLPTR_T>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f8.adoc[fromVal](xref:bsl/nullptr_t-08.adoc[bsl::nullptr_t]& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f8.adoc[_» more..._]# Return the index tag for a `short` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_SHORT>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-00.adoc[fromVal](short& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-00.adoc[_» more..._]# Return the index tag for a `signed char` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_SCHAR>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0c2.adoc[fromVal](signed char& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0c2.adoc[_» more..._]# Return the index tag for an `unsigned char` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_UCHAR>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0688.adoc[fromVal](unsigned char& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0688.adoc[_» more..._]# Return the index tag for an `unsigned int` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_UNSIGNED>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f6.adoc[fromVal](unsigned int& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f6.adoc[_» more..._]# Return the index tag for an `unsigned long` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_ULONG>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-033.adoc[fromVal](unsigned long& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-033.adoc[_» more..._]# Return the index tag for an `unsigned long long` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_ULONG_LONG>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-07.adoc[fromVal](unsigned long long& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-07.adoc[_» more..._]# Return the index tag for an `unsigned short` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_USHORT>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0d.adoc[fromVal](unsigned short& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0d.adoc[_» more..._]# Return the index tag for a `wchar_t` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_WCHAR_T>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0e.adoc[fromVal](wchar_t& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0e.adoc[_» more..._]# Return the index tag for a `void *` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_VOIDPTR>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-09.adoc[fromVal](void*& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-09.adoc[_» more..._]# Return the index tag for a `volatile void *` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_VOLATILE_VOIDPTR>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0b1a.adoc[fromVal](void volatile*& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0b1a.adoc[_» more..._]# Return the index tag for a `const void *` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_CONST_VOIDPTR>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-029.adoc[fromVal](void const*& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-029.adoc[_» more..._]# Return the index tag for a `const volatile void *` lvalue reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_CONST_VOLATILE_VOIDPTR>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-034.adoc[fromVal](void const volatile*& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-034.adoc[_» more..._]# Return the index tag for an lvalue reference to the specified `t_TP`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_TP> static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_OTHER>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-046.adoc[fromVal](t_TP& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-046.adoc[_» more..._]# Return the index tag for the specified type `t_TP`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_TP> static xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag<e_POINTER>] xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-062.adoc[fromVal](t_TP*& value); ---- [.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-062.adoc[_» more..._]# == 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 [cols="1,4"] |=== | Name| Description | *value* | lvalue whose type is mapped to an index tag |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#