![]() |
Zen
A cross-platform functional programming language
|
Wrapper around Closure base class. More...
#include <ztl.hpp>
Public Member Functions | |
| ReturnT & | getValue () |
| Get return value for this closure. | |
| void | setValue (const ReturnT &val) |
| Set closure return value. | |
Protected Member Functions | |
| ClosureT () | |
| Default constructor. | |
Private Member Functions | |
| ClosureT (const ClosureT &src) | |
| Copy constructor. | |
Private Attributes | |
| z::scopedptr< ReturnT > | _val |
| Closure return value. | |
Wrapper around Closure base class.
Copy constructor.
| src | Source instance |
| ReturnT& getValue | ( | ) | [inline] |
Get return value for this closure.
| void setValue | ( | const ReturnT & | val | ) | [inline] |
Set closure return value.
| val | Closure return value |