|
Celeritas 0.7.0-dev.251+develop.9b9328e4
|
Macros | |
| #define | ORANGE_TRANSFORM_TRAITS(ENUM_VALUE, CLS) |
| #define | ORANGE_TT_VISIT_CASE(TYPE) |
Functions | |
| template<class F > | |
| constexpr decltype(auto) | celeritas::visit_transform_type (F &&func, TransformType st) |
| Expand a macro to a switch statement over all possible transform types. | |
| #define ORANGE_TRANSFORM_TRAITS | ( | ENUM_VALUE, | |
| CLS | |||
| ) |
| #define ORANGE_TT_VISIT_CASE | ( | TYPE | ) |
|
inlineconstexpr |
Expand a macro to a switch statement over all possible transform types.
The func argument should be a functor that takes a single argument which is a TransformTypeTraits instance.