From: Larry Evans (jcampbell3_at_[hidden])
Date: 2003-06-21 12:52:10
Larry Evans wrote:
> The articles at:
> pretty much confirms that Kanze's code does more (and possibly does it
> better) than my code at files/col_io/test_ostreambuf_decorator.zip.
when combined with:
demonstrates both adjustable left margins and line numbering. Kanze's
software defines the sync method to synchronize the "final" destination
streambuf, which makes perfect sense since all other streambufs are
empty. It also probably better to put the "final" streambuf at
the beginning of the list of streambufs instead of at the end, as
test_ostreambuf_decorator.zip does, since that makes inserting more
"filters" or, using another term, decorators into the pipe.
Maybe someone else could experiment with the code to get a better idea?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk