|
CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
|

Macros | |
| #define | BITPACK_OPERATE_ENUM(proxy, operator, value) |
| Convenience for scoped enum fields, bringing the enumerators of the field type into scope while evaluating the value. | |
| #define | BITPACK_OPERATE_ENUM_DECLTYPE(b, T, operator, v) |
| A fusion of BITPACK_MEMBER_DECLTYPE and BITPACK_OPERATE_ENUM. | |
| #define | BITPACK_OPERATE_ENUM_TYPE(b, T, operator, v) |
| A fusion of .member<>() and BITPACK_OPERATE_ENUM. | |
| #define | BITPACK_WITH_ENUM(proxy, value) |
| A specialization of BITPACK_OPERATE_ENUM using .with as the operator. | |
| #define | BITPACK_WITH_ENUM_DECLTYPE(b, T, v) |
| A specialization of BITPACK_OPERATE_ENUM_DECLTYPE using .with as the operator. | |
| #define | BITPACK_WITH_ENUM_TYPE(b, T, v) |
| A specialization of BITPACK_OPERATE_ENUM_TYPE using .with as the operator. | |
| #define BITPACK_OPERATE_ENUM | ( | proxy, | |
| operator, | |||
| value ) |
Convenience for scoped enum fields, bringing the enumerators of the field type into scope while evaluating the value.
Note that this uses using enum internally, and so cannot work with Proxy-s whose Field::Type-s are dependent. Alas, this precludes the existence of a BITPACK_*_ENUM_DEPENDENT family of helpers.
Probably prefer BITPACK_OPERATE_QUALIFY if you do not need repeated use of the enumeration's values within the passed value.
Definition at line 1285 of file bitpack.hh.
| #define BITPACK_OPERATE_ENUM_DECLTYPE | ( | b, | |
| T, | |||
| operator, | |||
| v ) |
A fusion of BITPACK_MEMBER_DECLTYPE and BITPACK_OPERATE_ENUM.
Definition at line 1294 of file bitpack.hh.
| #define BITPACK_OPERATE_ENUM_TYPE | ( | b, | |
| T, | |||
| operator, | |||
| v ) |
A fusion of .member<>() and BITPACK_OPERATE_ENUM.
Definition at line 1298 of file bitpack.hh.
| #define BITPACK_WITH_ENUM | ( | proxy, | |
| value ) |
A specialization of BITPACK_OPERATE_ENUM using .with as the operator.
Definition at line 1302 of file bitpack.hh.
| #define BITPACK_WITH_ENUM_DECLTYPE | ( | b, | |
| T, | |||
| v ) |
A specialization of BITPACK_OPERATE_ENUM_DECLTYPE using .with as the operator.
Definition at line 1309 of file bitpack.hh.
| #define BITPACK_WITH_ENUM_TYPE | ( | b, | |
| T, | |||
| v ) |
A specialization of BITPACK_OPERATE_ENUM_TYPE using .with as the operator.
Definition at line 1313 of file bitpack.hh.