proxygen
|
#include <Base-inl.h>
Classes | |
class | Generator |
Public Member Functions | |
Take (size_t count) | |
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< Take > | |
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 | count_ |
Additional Inherited Members | |
Protected Member Functions inherited from folly::gen::Operator< Take > | |
Operator ()=default | |
Operator (Operator &&) noexcept=default | |
Operator (const Operator &)=default | |
Operator & | operator= (Operator &&) noexcept=default |
Operator & | operator= (const Operator &)=default |
Take - For producing up to N values from a source.
This type is usually used through the 'take' helper function, like:
auto best = from(docs) | orderByDescending(scoreDoc) | take(10);
Definition at line 693 of file Base-inl.h.
|
inlineexplicit |
Definition at line 697 of file Base-inl.h.
|
inline |
|
inline |
|
private |
Definition at line 694 of file Base-inl.h.