Lumiera  0.pre.03
»edit your freedom«
FunctionComposition< F1, RET > Class Template Reference

#include "lib/meta/function-closure.hpp"

Description

template<typename F1, typename RET>
class lib::meta::func::FunctionComposition< F1, RET >

Functional composition.

Create a functor, which on invocation will execute two functions chained, i.e. fed the result of invoking the first function as argument into the second function.

Definition at line 737 of file function-closure.hpp.

Static Public Member Functions

static function< ChainedSig > chain (F1 &f1, SigF2 &f2)
 
static function< ChainedSig > chain (F1 &f1, function< SigF2 > &f2)
 

Private Types

enum  { ARG_CNT = count<typename Args::List>::value }
 
typedef _Fun< F1 >::Args Args
 
typedef Types< Ret1 > ArgsF2
 
typedef FunctionTypedef< RET, Args >::Sig ChainedSig
 
typedef _Fun< F1 >::Ret Ret1
 
typedef FunctionTypedef< RET, ArgsF2 >::Sig SigF2
 
+ Collaboration diagram for FunctionComposition< F1, RET >:

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