proxygen
|
#include <Base-inl.h>
Classes | |
class | Generator |
Public Member Functions | |
Stride (size_t stride) | |
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< Stride > | |
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 | stride_ |
Additional Inherited Members | |
Protected Member Functions inherited from folly::gen::Operator< Stride > | |
Operator ()=default | |
Operator (Operator &&) noexcept=default | |
Operator (const Operator &)=default | |
Operator & | operator= (Operator &&) noexcept=default |
Operator & | operator= (const Operator &)=default |
Stride - For producing every Nth value from a source.
This type is usually used through the 'stride' helper function, like:
auto half = from(samples) | stride(2);
Definition at line 807 of file Base-inl.h.
|
inlineexplicit |
Definition at line 811 of file Base-inl.h.
|
inline |
|
inline |
|
private |
Definition at line 808 of file Base-inl.h.