proxygen
|
#include <Base-inl.h>
Public Member Functions | |
IsEmpty ()=default | |
template<class Source , class Value > | |
bool | compose (const GenImpl< Value, Source > &source) const |
![]() | |
ResultGen | compose (const GenImpl< Value, Source > &source) const |
![]() | |
const Self & | self () const |
Self & | self () |
Additional Inherited Members | |
![]() | |
Operator ()=default | |
Operator (Operator &&) noexcept=default | |
Operator (const Operator &)=default | |
Operator & | operator= (Operator &&) noexcept=default |
Operator & | operator= (const Operator &)=default |
IsEmpty - a helper class for isEmpty and notEmpty
Essentially returns 'result' if the source is empty. Note that this cannot be called on an infinite source, because then there is only one possible return value.
Used primarily through 'isEmpty' and 'notEmpty' static values
bool hasPrimes = g | filter(prime) | notEmpty; bool lacksEvens = g | filter(even) | isEmpty;
Also used in the implementation of 'any' and 'all'
Definition at line 2065 of file Base-inl.h.
|
default |
|
inline |