proxygen
|
#include <algorithm>
#include <cassert>
#include <iostream>
#include <vector>
#include <folly/experimental/pushmi/examples/for_each.h>
#include <folly/experimental/pushmi/examples/pool.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 117 of file for_each_2.cpp.
References count, for_each(), max, naive_executor_bulk_target(), and x.
auto naive_executor_bulk_target | ( | Executor | e, |
Allocator | a = Allocator{} |
||
) |
Definition at line 27 of file for_each_2.cpp.
References a, folly::init(), folly::gen::move, folly::pushmi::set_error, folly::pushmi::set_value, submit, type, and value.
Referenced by main().