Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function display_expr

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

Synopsis

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


template<typename Expr> 
   ( expr,  sout);
template<typename Expr>  ( 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