|
Embedded Template Library 1.0
|
#include <closure.h>
Public Types | |
| typedef etl::delegate< TReturn(TArg0)> | delegate_type |
| The delegate type to be invoked. | |
Public Member Functions | |
| closure (const delegate_type &f, const TArg0 arg0) | |
| TReturn | operator() () const |
Closure for binding one argument to a delegate and invoking it later.
| TReturn | The return type of the delegate. |
| TArg0 | The type of the argument. |
|
inline |
Construct a closure with a delegate and its argument.
| f | The delegate to be invoked. |
| arg0 | The argument to bind to the delegate. |
|
inline |
Invoke the stored delegate with the bound argument.