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

Function display_expr

boost::proto::display_expr — Pretty-print a Proto expression tree.

Synopsis

// In header: <boost/proto/debug.hpp>


template<typename Expr> 
  void display_expr(Expr const & expr, std::ostream & sout);
template<typename Expr> void display_expr(Expr const & expr);

Description

Parameters:

expr

The Proto expression tree to pretty-print

sout

The ostream to which the output should be written. If not specified, defaults to std::cout.

Notes:

Equivalent to proto::functional::display_expr(0, sout)(expr).


PrevUpHomeNext