![]() |
L4Re Operating System Framework
Interface and Usage Documentation
|
Mechanism to opt-in for enum bitwise operators. More...
Data Structures | |
| struct | Has_marker |
| Marker for the opt-in ADL function. More... | |
| struct | Has_marker< T, Void< decltype(enum_bitops_enable(declval< T >()))> > |
| Marker for the opt-in ADL function. More... | |
| struct | Enable |
| Check whether the given enum type opts in for the bitwise operators. More... | |
Mechanism to opt-in for enum bitwise operators.
For an enumeration type T to opt-in for bitwise operators, there needs to be a declaration of a function
void enum_bitops_enable(T)
available for the argument-dependent lookup (the function is never actually called, thus no definition is required and no code is generated).