VCTR
Loading...
Searching...
No Matches
vctr::BinaryCaseDistinctionConfig< caseTrueExpression, op, Threshold, caseFalseExpression > Struct Template Reference

Helper struct to pass multiple partly non-type template parameters to a BinaryCaseDistinction expression. More...

Public Types

using ThresholdValue = Threshold
 

Static Public Attributes

static constexpr auto & caseTrue = caseTrueExpression
 
static constexpr auto & caseFalse = caseFalseExpression
 
static constexpr auto compareOp = op
 

Detailed Description

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
caseTrueExpressionThe ExpressionChainBuilder instance to use if comparing the input to the threshold using op compares to true
opThe compare operation to evaluate. The binary expression will evaluate "input op threshold"
ThresholdThe threshold constant to use as rhs argument to the compare operation
caseFalseExpressionThe ExpressionChainBuilder instance to use if comparing the input to the threshold using op compares to false

The documentation for this struct was generated from the following file: