Return the index tag for a short lvalue reference.

Synopsis

Declared in <bslmf_invokeresult.h>

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

Description

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

Return Value

a Tag encoding e_SHORT for the argument type

Parameters

Name

Description

value

lvalue whose type is mapped to an index tag

Created with MrDocs