proxygen
|
#include <Base-inl.h>
Public Member Functions | |
Contains (Needle needle) | |
template<class Source , class Value , class StorageType = typename std::decay<Value>::type> | |
bool | compose (const GenImpl< Value, Source > &source) const |
Public Member Functions inherited from folly::gen::Operator< Contains< Needle > > | |
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 | |
Needle | needle_ |
Additional Inherited Members | |
Protected Member Functions inherited from folly::gen::Operator< Contains< Needle > > | |
Operator ()=default | |
Operator (Operator &&) noexcept=default | |
Operator (const Operator &)=default | |
Operator & | operator= (Operator &&) noexcept=default |
Operator & | operator= (const Operator &)=default |
Contains - For testing whether a value matching the given value is contained in a sequence.
This type should be used through the 'contains' helper method, like:
bool contained = seq(1, 10) | map(square) | contains(49);
Definition at line 2179 of file Base-inl.h.
|
inlineexplicit |
|
inline |
Definition at line 2189 of file Base-inl.h.
References value.
|
private |
Definition at line 2180 of file Base-inl.h.