[snip]
Please see the just uploaded marg_ostreambuf.cpp for a little better version.
The just uploaded test_ostreambuf_decorator.zip contains renamed classes as well as virtual {detach,attach}_ostream to avoid using ostream* m_ostream==0 as flag indicating the end of the chain of decorators.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost