Home | Libraries | People | FAQ | More |
boost::proto::functional::display_expr — Pretty-print a Proto expression tree.
// In header: <boost/proto/debug.hpp> struct display_expr { // types typedef void result_type; // construct/copy/destruct display_expr(std::ostream & = std::cout, int = 0); // public member functions template<typename Expr> void operator()(Expr const &) const; };
A PolymorphicFunctionObject which accepts a Proto expression tree and pretty-prints it to an ostream
for debugging purposes.
display_expr
public member functionstemplate<typename Expr> void operator()(Expr const & expr) const;