![]() |
Zen
A cross-platform functional programming language
|
Zen template library. More...
#include "zrt.hpp"Go to the source code of this file.
Classes | |
| class | ClosureT< ReturnT > |
| Wrapper around Closure base class. More... | |
| class | FunctionCallClosureT< ReturnT > |
| Base class for FunctionCallClosure. More... | |
| class | SharedClosureT |
| Base class for Shared closure. More... | |
| class | LoopClosureT |
| Base class for Loop closure. More... | |
| class | ReturnClosureT< ReturnT > |
| Base class for Return closure. More... | |
| class | ContinuationT< ReturnT > |
| Base class for continuations. More... | |
| class | ContinuationListT< ReturnT > |
| Base class for continuation lists. More... | |
| class | RunContextT< ReturnT > |
| Base class for run contexts. More... | |
| class | TestFactoryT< T, ImplT > |
| Templated base class for test factories. More... | |
| class | TestFactoryT< T, ImplT >::TcontinuationT |
| Templated base class for test continuation. More... | |
| class | TestFactoryT< T, ImplT >::TcontinuationT::_C_test |
| Test closure. More... | |
| class | TestFactoryT< T, ImplT >::TcontinuationT::_C_rtn |
| Test return closure. More... | |
Namespaces | |
| namespace | ztl |
namespace for zen template library | |
Functions | |
| template<typename srcT , typename rtnT , typename ctxT , typename contT > | |
| void | adaptFunction (contT &cont, typename srcT::Impl::RunCtx &src, ctxT &dstCtx) |
| Adapt callee continuations to caller When a function has been called from another function, take the continuations returned by the callee and adapt them to the return value of the caller. srcT: return type of callee function (eg: Test::MyCallee::Return) rtnT: return type of caller function. ctxT: RunCtx of calling function (eg: Test::MyCaller::RunCtx) contT: Continuation type in caller that wraps the callee continuations (eg Test::MyCaller::Seq1). | |
| template<typename srcT , typename rtnT > | |
| void | adaptClosure (typename srcT::Impl::RunCtx &src, zbl::RunContext &dstCtx) |
| Adapt a callee function's run context to RunContext. | |
| template<typename srcT , typename rtnT > | |
| void | adaptNative (typename srcT::Impl::RunCtx &src) |
| Enque a callee function's run context to the engine. | |
Zen template library.
Set of wrapper classes around the runtime classes