Reduces a sequence to a single value using a binary reducer.
Declared in <folly/gen/Base.h>
template<
class Reducer,
class Reduce = /* implementation-defined */>
Reduce
reduce(Reducer reducer = Reducer());
A sink yielding the reduced value.
| Name | Description |
|---|---|
| reducer | The binary operation combining accumulated values. |