C++ template name pretty print
- by aaa
hello.
I have need to print indented template names for debugging purposes.
For example, instead of single-line, I would like to indent name like this:
boost::phoenix::actor<
boost::phoenix::composite<
boost::phoenix::less_eval,
boost::fusion::vector<
boost::phoenix::argument<0>,
boost::phoenix::argument<1>,
I started writing my own but is getting to be complicated.
Is there an existing solution?
if there is not one, can you help me to finish up my implementation?
I will post it if so.
Thanks