cpp/utility/to underlying

Converts an enumeration to its underlying type. Equivalent to.

Return value
The integer value of the underlying type of, converted from.