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

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

== Synopsis

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

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

== Description

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;

== Return Value

a `Tag` encoding `e&lowbar;SHORT` 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]#
