Check whether the given type is an enumeration type.
More...
#include <types>
template<typename T>
struct L4::Types::Is_enum< T >
Check whether the given type is an enumeration type.
- Note
- The implementation relies on the intrinsic __is_enum() 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 exclude all other types to identify the enumeration type).
- Template Parameters
-
| T | Type to check whether it is an enumeration type. |
Definition at line 335 of file types.
The documentation for this struct was generated from the following file: