Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/meta/function-closure.hpp"
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 |