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

Helper template for Underlying_type. More...

#include <types>

Inheritance diagram for L4::Types::__Underlying_type_helper< T, bool >:
Collaboration diagram for L4::Types::__Underlying_type_helper< T, bool >:

Detailed Description

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
TEnumeration type to get the underlying type of.

Definition at line 349 of file types.


The documentation for this struct was generated from the following file: