From: Larry Evans (jcampbell3_at_[hidden])
Date: 2003-06-12 08:14:46
Maxim Egorushkin wrote:
> I posted here a while ago streambuf adapters. There was no any answer. May
> be you might find it intresting.
Sorry I overlooked it.
> The main idea is simple: to present any linear sequence as
It sounds like what people, in particular Robert Ramey , wants.
> Here are the file.
I had a brief look and it looks promising. However, I'm wondering
if some of the complexity can be avoided. I had a hard time figuring
out just how to get marg_ostreambuf in files/col_io/col_io.zip to work
with buffered input. After thinking some more, I thought about just
using overflow and sputc to "pipe" the output to the next streambuf.
This greatly simplified the code. Would something similar work with
your code. In particular, can you create an equivalent to marg_ostream
from files/col_io/col_io.zip by using your, I guess, stream buffer
redirectors? I'd like to see that. Maybe Reece Dunn would also since
he's "interested in indentation facilities."