proxygen
|
#include <Base-inl.h>
Public Member Functions | |
First ()=default | |
template<class Source , class Value , class StorageType = typename std::decay<Value>::type> | |
Optional< StorageType > | compose (const GenImpl< Value, Source > &source) const |
Public Member Functions inherited from folly::gen::Operator< First > | |
ResultGen | compose (const GenImpl< Value, Source > &source) const |
Public Member Functions inherited from folly::gen::FBounded< Self > | |
const Self & | self () const |
Self & | self () |
Additional Inherited Members | |
Protected Member Functions inherited from folly::gen::Operator< First > | |
Operator ()=default | |
Operator (Operator &&) noexcept=default | |
Operator (const Operator &)=default | |
Operator & | operator= (Operator &&) noexcept=default |
Operator & | operator= (const Operator &)=default |
First - For finding the first value in a sequence.
This type is primarily used through the 'first' static value, like:
int firstThreeDigitPrime = seq(100) | filter(isPrime) | first;
Definition at line 2031 of file Base-inl.h.
|
default |
|
inline |
Definition at line 2039 of file Base-inl.h.
References v.
Referenced by folly::gen::detail::Composed< First, Second >::compose().