|
Boost : |
From: Ehsan Akhgari (ehsan_at_[hidden])
Date: 2003-10-13 13:19:18
> Since the compressor_stream are basically filter on top of other
> streams, the methods need to read from a stream output towards it.
> Hence, the following could be done:
>
> >void compress(InputIterator begin, InputIterator end, ostream& out);
>
> without much problems. But I don't think I would get rid of the
> ostream.
I think that the OutputStream parameter is fine - many alike STL
algorithms rely on it as well.
Good luck with the implementation.
-------------
Ehsan Akhgari
List Owner: MSVC_at_[hidden]
[ Email: ehsan_at_[hidden] ]
[ WWW: http://www.beginthread.com/Ehsan ]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk