proxygen
|
#include <Base-inl.h>
Classes | |
class | Generator |
Public Member Functions | |
Concat ()=default | |
template<class Value , class Source , class Gen = Generator<Value, Source>> | |
Gen | compose (GenImpl< Value, Source > &&source) const |
template<class Value , class Source , class Gen = Generator<Value, Source>> | |
Gen | compose (const GenImpl< Value, Source > &source) const |
Public Member Functions inherited from folly::gen::Operator< Concat > | |
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< Concat > | |
Operator ()=default | |
Operator (Operator &&) noexcept=default | |
Operator (const Operator &)=default | |
Operator & | operator= (Operator &&) noexcept=default |
Operator & | operator= (const Operator &)=default |
Concat - For flattening generators of generators.
This type is usually used through the 'concat' static value, like:
auto edges = from(nodes) | map([](Node& x) { return from(x.neighbors) | map([&](Node& y) { return Edge(x, y); }); }) | concat | as<std::set>();
Definition at line 1618 of file Base-inl.h.
|
default |
|
inline |
|
inline |
Definition at line 1661 of file Base-inl.h.
References folly::gen::FBounded< Self >::self().