struct
SushiRuntime::Minimum
template <typename T>Keeps the smaller of two values; identity is the largest T.
- Declared in
include/SushiRuntime/api/vocabulary/combine.hpp
Template parameters
TElement type being reduced; must have a numeric_limits.
Public member functions
T operator()(const T &a, const T &b) constCombines two values by keeping the smaller.
Parameters
aLeft operand — the accumulator in a fold.
bRight operand — the next element.
Returns
b when it compares less than a, else a.
Static public member functions
static constexpr T identity()The value a minimum over no elements produces.
Returns
The largest representable T, so any element wins against it.

