underlying_type Class
Produces the underlying integral type for an enumeration type.
C++
template <class T>
struct underlying_type;
T
The type to modify.
The type
member typedef of the class template 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