...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::proto::context::null_eval
// In header: <boost/proto/context/null.hpp> template<typename Expr, typename Context> struct null_eval { // types typedef void result_type; // public member functions void operator()(Expr &, Context &) const; };
null_eval
public member functionsvoid operator()(Expr & expr, Context & context) const;
For N
in [0,Expr arity)
,
evaluate:
proto::eval
(proto::child_c
<N>(expr), context)