proxygen
folly::gen::Operator< Self > Class Template Reference

#include <Core-inl.h>

Inheritance diagram for folly::gen::Operator< Self >:
folly::gen::FBounded< Self >

Public Member Functions

template<class Source , class Value , class ResultGen = void>
ResultGen compose (const GenImpl< Value, Source > &source) const
 
- Public Member Functions inherited from folly::gen::FBounded< Self >
const Self & self () const
 
Self & self ()
 

Protected Member Functions

 Operator ()=default
 
 Operator (Operator &&) noexcept=default
 
 Operator (const Operator &)=default
 
Operatoroperator= (Operator &&) noexcept=default
 
Operatoroperator= (const Operator &)=default
 

Detailed Description

template<class Self>
class folly::gen::Operator< Self >

Operator - Core abstraction of an operation which may be applied to a generator. All operators implement a method compose(), which takes a generator and produces an output generator.

Definition at line 86 of file Core-inl.h.

Constructor & Destructor Documentation

template<class Self>
folly::gen::Operator< Self >::Operator ( )
protecteddefault
template<class Self>
folly::gen::Operator< Self >::Operator ( Operator< Self > &&  )
protecteddefaultnoexcept
template<class Self>
folly::gen::Operator< Self >::Operator ( const Operator< Self > &  )
protecteddefault

Member Function Documentation

template<class Self>
template<class Source , class Value , class ResultGen = void>
ResultGen folly::gen::Operator< Self >::compose ( const GenImpl< Value, Source > &  source) const

compose() - Must be implemented by child class to compose a new Generator out of a given generator. This function left intentionally unimplemented.

template<class Self>
Operator& folly::gen::Operator< Self >::operator= ( Operator< Self > &&  )
protecteddefaultnoexcept
template<class Self>
Operator& folly::gen::Operator< Self >::operator= ( const Operator< Self > &  )
protecteddefault

The documentation for this class was generated from the following file: