Thrill  0.1
function_chain.hpp File Reference
#include <tlx/meta/index_sequence.hpp>
#include <tuple>
+ Include dependency graph for function_chain.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FunctionChain< Functors >
 A FunctionChain is a chain of functors that can be folded to a single functors. More...
 

Namespaces

 tlx
 
 tlx::meta_detail
 

Functions

static auto call_chain ()
 Base case for the chaining of functors: zero functors, returns the identity. More...
 
template<typename Functor >
auto call_chain (const Functor &functor)
 Base case for the chaining of functors. More...
 
template<typename Functor , typename... MoreFunctors>
auto call_chain (const Functor &functor, const MoreFunctors &... rest)
 Recursive case for the chaining of functors. More...
 
template<typename Functor >
static auto make_function_chain (const Functor &functor)
 Functor chain maker. Can also be called with a lambda function. More...
 
static auto make_function_chain ()
 Construct and empty function chain. More...