Helper struct to pass multiple partly non-type template parameters to a BinaryCaseDistinction expression.
More...
template<const auto & caseTrueExpression,
CompareOp op, is::constant Threshold, const auto & caseFalseExpression>
struct vctr::BinaryCaseDistinctionConfig< caseTrueExpression, op, Threshold, caseFalseExpression >
Helper struct to pass multiple partly non-type template parameters to a BinaryCaseDistinction expression.
- Template Parameters
-
| caseTrueExpression | The ExpressionChainBuilder instance to use if comparing the input to the threshold using op compares to true |
| op | The compare operation to evaluate. The binary expression will evaluate "input op threshold" |
| Threshold | The threshold constant to use as rhs argument to the compare operation |
| caseFalseExpression | The ExpressionChainBuilder instance to use if comparing the input to the threshold using op compares to false |