Celeritas
0.5.0-56+6b053cd
|
Macros | |
#define | ORANGE_TRANSFORM_TRAITS(ENUM_VALUE, CLS) |
#define | ORANGE_TT_VISIT_CASE(TYPE) |
Functions | |
template<class F > | |
decltype(auto) CELER_CONSTEXPR_FUNCTION | celeritas::visit_transform_type (F &&func, TransformType st) |
Expand a macro to a switch statement over all possible transform types. More... | |
#define ORANGE_TRANSFORM_TRAITS | ( | ENUM_VALUE, | |
CLS | |||
) |
#define ORANGE_TT_VISIT_CASE | ( | TYPE | ) |
decltype(auto) CELER_CONSTEXPR_FUNCTION 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.