[#BloombergLP-bslmf-InvokeResult_Index-fromVal-024]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::xref:BloombergLP/bslmf/InvokeResult_Index.adoc[InvokeResult&lowbar;Index]::fromVal
:relfileprefix: ../../../
:mrdocs:

`fromVal` overloads

== Synopses

Declared in `&lt;bslmf&lowbar;invokeresult&period;h&gt;`

Return the index tag for a `bool` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;BOOL&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0c3.adoc[fromVal](bool&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0c3.adoc[_» more&period;&period;&period;_]#

Return the index tag for a `char` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;CHAR&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0684.adoc[fromVal](char&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0684.adoc[_» more&period;&period;&period;_]#

Return the index tag for a `char16&lowbar;t` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;CHAR16&lowbar;T&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0ae.adoc[fromVal](char16&lowbar;t&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0ae.adoc[_» more&period;&period;&period;_]#

Return the index tag for a `char32&lowbar;t` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;CHAR32&lowbar;T&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f29.adoc[fromVal](char32&lowbar;t&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f29.adoc[_» more&period;&period;&period;_]#

Return the index tag for a `char8&lowbar;t` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;CHAR8&lowbar;T&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0b1d.adoc[fromVal](char8&lowbar;t&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0b1d.adoc[_» more&period;&period;&period;_]#

Return the index tag for a `double` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;DOUBLE&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f1.adoc[fromVal](double&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f1.adoc[_» more&period;&period;&period;_]#

Return the index tag for a `float` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;FLOAT&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-04e.adoc[fromVal](float&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-04e.adoc[_» more&period;&period;&period;_]#

Return the index tag for an `int` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;INT&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f22.adoc[fromVal](int&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f22.adoc[_» more&period;&period;&period;_]#

Return the index tag for a `long` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;LONG&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0a1.adoc[fromVal](long&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0a1.adoc[_» more&period;&period;&period;_]#

Return the index tag for a `long double` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;LONG&lowbar;DOUBLE&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0a2.adoc[fromVal](long double&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0a2.adoc[_» more&period;&period;&period;_]#

Return the index tag for a `long long` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;LONG&lowbar;LONG&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0b8.adoc[fromVal](long long&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0b8.adoc[_» more&period;&period;&period;_]#

Return the index tag for a `nullptr&lowbar;t` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;NULLPTR&lowbar;T&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f8.adoc[fromVal](xref:bsl/nullptr_t-08.adoc[bsl::nullptr&lowbar;t]&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f8.adoc[_» more&period;&period;&period;_]#

Return a tag type representing the argument type&period; These functions are declared but not defined and are intended to be used in an unevaluated context (e&period;g&period;, within `sizeof`) to convert an expression into a compile&hyphen;time enumeration constant&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;SHORT&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-00.adoc[fromVal](short&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-00.adoc[_» more&period;&period;&period;_]#

Return the index tag for a `signed char` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;SCHAR&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0c2.adoc[fromVal](signed char&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0c2.adoc[_» more&period;&period;&period;_]#

Return the index tag for an `unsigned char` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;UCHAR&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0688.adoc[fromVal](unsigned char&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0688.adoc[_» more&period;&period;&period;_]#

Return the index tag for an `unsigned int` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;UNSIGNED&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f6.adoc[fromVal](unsigned int&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0f6.adoc[_» more&period;&period;&period;_]#

Return the index tag for an `unsigned long` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;ULONG&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-033.adoc[fromVal](unsigned long&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-033.adoc[_» more&period;&period;&period;_]#

Return the index tag for an `unsigned long long` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;ULONG&lowbar;LONG&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-07.adoc[fromVal](unsigned long long&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-07.adoc[_» more&period;&period;&period;_]#

Return the index tag for an `unsigned short` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;USHORT&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0d.adoc[fromVal](unsigned short&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0d.adoc[_» more&period;&period;&period;_]#

Return the index tag for a `wchar&lowbar;t` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;WCHAR&lowbar;T&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0e.adoc[fromVal](wchar&lowbar;t&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0e.adoc[_» more&period;&period;&period;_]#

Return the index tag for a `void &ast;` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;VOIDPTR&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-09.adoc[fromVal](void*&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-09.adoc[_» more&period;&period;&period;_]#

Return the index tag for a `volatile void &ast;` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;VOLATILE&lowbar;VOIDPTR&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0b1a.adoc[fromVal](void volatile*&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-0b1a.adoc[_» more&period;&period;&period;_]#

Return the index tag for a `const void &ast;` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;CONST&lowbar;VOIDPTR&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-029.adoc[fromVal](void const*&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-029.adoc[_» more&period;&period;&period;_]#

Return the index tag for a `const volatile void &ast;` lvalue reference&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;CONST&lowbar;VOLATILE&lowbar;VOIDPTR&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-034.adoc[fromVal](void const volatile*&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-034.adoc[_» more&period;&period;&period;_]#

Return the index tag for an lvalue reference to the specified `t&lowbar;TP`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;TP&gt;
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;OTHER&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-046.adoc[fromVal](t&lowbar;TP&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-046.adoc[_» more&period;&period;&period;_]#

Return the index tag for the specified type `t&lowbar;TP`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;TP&gt;
static
xref:BloombergLP/bslmf/Tag-0b.adoc[bslmf::Tag&lt;e&lowbar;POINTER&gt;]
xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-062.adoc[fromVal](t&lowbar;TP*&);
----

[.small]#xref:BloombergLP/bslmf/InvokeResult_Index/fromVal-062.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
