16 #ifndef GRPPI_STREAM_REDUCE_H
17 #define GRPPI_STREAM_REDUCE_H
43 template <
typename Identity,
typename Combiner>
44 auto reduce(
int window_size,
int offset,
46 Combiner && combine_op)
51 window_size, offset, identity,
52 std::forward<Combiner>(combine_op));
Representation of reduce pattern. Represents a reduction that can be used as a stage on a pipeline.
Definition: reduce_pattern.h:29
auto reduce(const Execution &ex, InputIt first, std::size_t size, Result &&identity, Combiner &&combine_op)
Invoke Reduce pattern with identity value on a data sequence with sequential execution.
Definition: reduce.h:50
Definition: callable_traits.h:21