A PolymorphicFunctionObject type for evaluating a given Proto expression with a given context. More...
#include <eval.hpp>
Classes | |
struct | result |
struct | result< This(Expr, Context)> |
Public Member Functions | |
template<typename Expr , typename Context > | |
proto::result_of::eval< Expr, Context >::type | operator() (Expr &e, Context &ctx) const |
Evaluate a given Proto expression with a given context. More... | |
template<typename Expr , typename Context > | |
proto::result_of::eval< Expr, Context >::type | operator() (Expr &e, Context const &ctx) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
template<typename Expr , typename Context > | |
proto::result_of::eval< Expr const, Context >::type | operator() (Expr const &e, Context &ctx) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
template<typename Expr , typename Context > | |
proto::result_of::eval< Expr const, Context >::type | operator() (Expr const &e, Context const &ctx) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
A PolymorphicFunctionObject type for evaluating a given Proto expression with a given context.
|
inline |
Evaluate a given Proto expression with a given context.
expr | The Proto expression to evaluate |
context | The context in which the expression should be evaluated. |
typename Context::template eval<Expr>()(expr, context)
References template.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
References template.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
References template.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
References template.