Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2003-11-13 14:28:33

"Jonathan de Halleux" <dehalleux_at_[hidden]> wrote in message
> This is really an impressive work! I had written zipped streams by
> implementing my own zipped buffer, but this looks much better approach.


> Now some questions: could give an example of the use of the operators ?
> (flush in particular )

First of all, all the operators except copy and flush are documented only
because they appear in the semi-formal concept definitions; they are not for
library users -- I should have made this clear.

As for flush, the idea was that some filters would do their own buffering,
and they would need some way to be told to pass the buffered data to the
next streambuf. I think in most cases all that is necessary is a
notification that a stream is about to be closed, but I haven't implemented
this (see 'Future Directions').

The question of open/close notifications is one of the most important issues
with the library, and I'm very interested to know whether readers can
implement their favorite filters using the current framework.

I'd love to get rid of flush if it's not really needed.


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