16 #ifndef GRPPI_FF_DETAIL_ITERATION_NODES_H
17 #define GRPPI_FF_DETAIL_ITERATION_NODES_H
21 #include <ff/node.hpp>
27 template<
typename Item,
typename Iteration>
31 iteration_{std::move(iteration)}
34 Item *
svc(Item * p_item) {
36 *p_item = iteration_.transform(*p_item);
38 while (!iteration_.predicate(*p_item));
Definition: iteration_nodes.h:28
iteration_worker(Iteration &&iteration)
Definition: iteration_nodes.h:30
Item * svc(Item *p_item)
Definition: iteration_nodes.h:34
Definition: callable_traits.h:21