L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
L4::Types::Is_enum< T > Struct Template Reference

Check whether the given type is an enumeration type. More...

#include <types>

Inheritance diagram for L4::Types::Is_enum< T >:
Collaboration diagram for L4::Types::Is_enum< T >:

Detailed Description

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
TType 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: