|
proxygen
|
#include <Base-inl.h>
Classes | |
| class | Generator |
Public Member Functions | |
| Batch (size_t batchSize) | |
| template<class Source , class Value , class Gen = Generator<Value, Source>> | |
| Gen | compose (GenImpl< Value, Source > &&source) const |
| template<class Source , class Value , class Gen = Generator<Value, Source>> | |
| Gen | compose (const GenImpl< Value, Source > &source) const |
Public Member Functions inherited from folly::gen::Operator< Batch > | |
| ResultGen | compose (const GenImpl< Value, Source > &source) const |
Public Member Functions inherited from folly::gen::FBounded< Self > | |
| const Self & | self () const |
| Self & | self () |
Private Attributes | |
| size_t | batchSize_ |
Additional Inherited Members | |
Protected Member Functions inherited from folly::gen::Operator< Batch > | |
| Operator ()=default | |
| Operator (Operator &&) noexcept=default | |
| Operator (const Operator &)=default | |
| Operator & | operator= (Operator &&) noexcept=default |
| Operator & | operator= (const Operator &)=default |
Batch - For producing fixed-size batches of each value from a source.
This type is usually used through the 'batch' helper function:
auto batchSums = seq(1, 10) | batch(3) | map([](const std::vector<int>& batch) { return from(batch) | sum; }) | as<vector>();
Definition at line 1443 of file Base-inl.h.
|
inlineexplicit |
|
inline |
|
inline |
|
private |
Definition at line 1444 of file Base-inl.h.