
25 Aug
2004
25 Aug
'04
6:11 a.m.
"Darren Cook" <darren@dcook.org> wrote in message news:412BCACE.70300@dcook.org...
I need to indent a 2d output sometimes (e.g. in trace logs to show the depth of recursion) but that requires a prefix to each line so is a different kind of problem.
Larry Evans wrote a stream buffer to handle indentation. There appears to be a fairly recently modified version in the sandbox under boost/io/filters, but there is no documentation. If you like, I'll try to post an OutputFilter which manages indententation, but I'm not sure what your requirements are. What interface would you like? Jonathan