Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/meta/function-closure.hpp"
Closing a function over its arguments.
This is a small usage example or spin-off, having almost the same effect than invoking std::bind()
. The notable difference is that the function arguments for creating the closure are passed in as one tuple compound.
Definition at line 522 of file function-closure.hpp.
Public Types | |
typedef void | argument_type |
typedef Ret | result_type |
for STL use | |
Public Member Functions | |
FunctionClosure (SIG &f, Tuple< Args > &arg) | |
FunctionClosure (function< SIG > const &f, Tuple< Args > &arg) | |
Ret | operator() () |
Private Types | |
typedef _Fun< SIG >::Args | Args |
typedef _Fun< SIG >::Ret | Ret |
Private Attributes | |
function< Ret(void)> | closure_ |