Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Struct template null_eval

boost::proto::context::null_eval

Synopsis

// 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;
};

Description

null_eval public member functions

  1. void operator()(Expr & expr, Context & context) const;

    For N in [0,Expr arity), evaluate:

    proto::eval(proto::child_c<N>(expr), context)


PrevUpHomeNext