underlying_type Class
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at underlying_type Class.
Produces the underlying integral type for an enumeration type.
template <class T> struct underlying_type;
Parameters
T
The type to modify.
The type member typedef of the template class names the underlying integral type of T, when T is an enumeration type, otherwise there is no member typedef type.
Header: <type_traits>
Namespace: std
Show: