proxygen
|
#include <algorithm>
#include <cassert>
#include <exception>
#include <iostream>
#include <numeric>
#include <vector>
#include <folly/experimental/pushmi/examples/pool.h>
#include <folly/experimental/pushmi/examples/reduce.h>
Go to the source code of this file.
Functions | |
template<class Executor , class Allocator = std::allocator<char>> | |
auto | naive_executor_bulk_target (Executor e, Allocator a=Allocator{}) |
int | main () |
int main | ( | void | ) |
Definition at line 119 of file reduce_2.cpp.
References folly::f14::accumulate(), max, naive_executor_bulk_target(), and folly::pushmi::reduce.
auto naive_executor_bulk_target | ( | Executor | e, |
Allocator | a = Allocator{} |
||
) |
Definition at line 29 of file reduce_2.cpp.
References a, folly::init(), folly::gen::move, folly::pushmi::set_error, folly::pushmi::set_value, submit, type, and value.
Referenced by main().