|
Celeritas 0.7.0-dev.169+develop.bdc0041f6
|

Classes | |
| struct | celeritas::UnivTypeTraits< UnivType::simple > |
| struct | celeritas::UnivTypeTraits< UnivType::rect_array > |
Macros | |
| #define | ORANGE_UNIV_TRAITS(ENUM_VALUE, CLS) |
| #define | ORANGE_UT_VISIT_CASE(TYPE) |
Functions | |
| template<class F > | |
| CELER_CONSTEXPR_FUNCTION decltype(auto) | celeritas::visit_univ_type (F &&func, UnivType ut) |
| Expand a macro to a switch statement over all possible universe types. | |
| #define ORANGE_UNIV_TRAITS | ( | ENUM_VALUE, | |
| CLS | |||
| ) |
| #define ORANGE_UT_VISIT_CASE | ( | TYPE | ) |
| CELER_CONSTEXPR_FUNCTION decltype(auto) celeritas::visit_univ_type | ( | F && | func, |
| UnivType | ut | ||
| ) |
Expand a macro to a switch statement over all possible universe types.
The func argument should be a functor that takes a single argument which is a UnivTypeTraits instance.