Boost logo

Boost :

From: Larry Evans (jcampbell3_at_[hidden])
Date: 2003-06-12 13:45:06

Larry Evans wrote:

> The prototype of the "using overflow+sputc" method is in
> files/col_io/

A more complete marg_ostream example is in
files/col_io/ It
shows how an ostream indentation can be changed
without resorting to a wrapper class like
marg_ostream in col_io/ It also
shows how to change the indentation with
use of dynamic_cast and call to marg_ostreambuf
member function. It also shows how the
original status of the ostream can be restored
by simply deleting the result of ostream::rdbuf.

Any comments? Maybe this method could be used
with Maxim's adaptors?

Boost list run by bdawes at, gregod at, cpdaniel at, john at