[snip]
The articles at:
http://www.gabi-soft.fr/articles-en.html
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.
[snip]
http://groups.yahoo.com/group/boost/files/col_io/delta.tar.gz
when combined with:
http://www.gabi-soft.fr/gabi-lib.tgz
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?
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost