Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/meta/function-closure.hpp"
Closure-creating template.
The instance is linked (reference) to a given concrete argument tuple. A functor with a matching signature may then either be closed over this argument values, or even be invoked right away with theses arguments.
Definition at line 478 of file function-closure.hpp.
Public Member Functions | |
TupleApplicator (Tuple< Args > &args) | |
BoundFunc | bind (SIG &f) |
BoundFunc | bind (function< SIG > const &f) |
Ret | operator() (SIG &f) |
Ret | operator() (function< SIG > &f) |
Private Types | |
enum | { ARG_CNT = count<typename Args::List>::value } |
using | Args = typename _Fun< SIG >::Args |
using | BoundFunc = function< Ret()> |
using | Ret = typename _Fun< SIG >::Ret |
Private Attributes | |
Tuple< Args > & | params_ |
storing a ref to the parameter tuple | |