Pretty-print a Proto expression tree. More...
#include <debug.hpp>
Public Types | |
| typedef void | result_type |
Public Member Functions | |
| display_expr (std::ostream &sout=std::cout, int depth=0) | |
| template<typename Expr > | |
| void | operator() (Expr const &expr) const |
| Pretty-print the current node in a Proto expression tree. More... | |
Pretty-print a Proto expression tree.
A PolymorphicFunctionObject which accepts a Proto expression tree and pretty-prints it to an ostream for debugging purposes.
| typedef void boost::proto::functional::display_expr::result_type |
|
inlineexplicit |
| sout | The ostream to which the expression tree will be written. |
| depth | The starting indentation depth for this node. Children nodes will be displayed at a starting depth of depth+4. |
|
inline |
Pretty-print the current node in a Proto expression tree.