Either call the PolymorphicFunctionObject Fun
with 0 arguments; or invoke the PrimitiveTransform Fun
with 3 arguments: the current expression, state, and data.
More...
#include <call.hpp>
Either call the PolymorphicFunctionObject Fun
with 0 arguments; or invoke the PrimitiveTransform Fun
with 3 arguments: the current expression, state, and data.
If Fun
is a nullary PolymorphicFunctionObject, return Fun()()
. Otherwise, return Fun()(e, s, d)
.
e | The current expression |
s | The current state |
d | An arbitrary data If Fun is a nullary PolymorphicFunctionObject, type is a typedef for boost::result_of<Fun()>::type . Otherwise, it is a typedef for boost::result_of<Fun(Expr, State, Data)>::type . |