A BinaryFunction that accepts an Expr
and a Context
, and either fans out the expression and passes it to the context, or else hands off the expression to DefaultCtx
.
More...
#include <callable.hpp>
Public Types | |
typedef T | type |
A BinaryFunction that accepts an Expr
and a Context
, and either fans out the expression and passes it to the context, or else hands off the expression to DefaultCtx
.
If Context
is a PolymorphicFunctionObject such that it can be invoked with the tag and children of Expr
, as ctx(Expr::proto_tag(), child_c<0>(expr), child_c<1>(expr)...)
, then eval<Expr, ThisContext>
inherits from callable_eval<Expr, ThisContext>
. Otherwise, eval<Expr, ThisContext>
inherits from DefaultCtx::eval<Expr, Context>
.
|
inherited |