Celeritas 0.6.0-dev.116+3fbab5e0
|
Macros | |
#define | ORANGE_TRANSFORM_TRAITS(ENUM_VALUE, CLS) |
#define | ORANGE_TT_VISIT_CASE(TYPE) |
Functions | |
template<class F > | |
CELER_CONSTEXPR_FUNCTION 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 | ) |
CELER_CONSTEXPR_FUNCTION decltype(auto) celeritas::visit_transform_type | ( | F && | func, |
TransformType | st | ||
) |
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.