template<typename T, bool = Is_enum<T>::value>
struct L4::Types::__Underlying_type_helper< T, bool >
Helper template for Underlying_type.
- Note
- The implementation relies on the intrinsic __underlying_type() compiler type trait that is provided by the mainstream C++ compilers. There is no fully portable and future-proof way of implementing this template (the only fragile and unmaintainable possibility is to evaluate all possible underlying types).
- Template Parameters
-
| T | Enumeration type to get the underlying type of. |
Definition at line 349 of file types.