|
Boost : |
From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2008-08-10 19:38:21
Daniel Pfeifer wrote:
> Hello Boosters,
>
> Find a modified version of the IO extension of Boost.GIL uploaded to the
> vault where I added functionality to read from std::istream& and write
> to std::ostream& for both PNG and JPEG files.
>
Wouldn't one rather stream from / to std::streambuf, as opposed to
std::[i,o]stream ? streams are for formatting, while std::streambuf
provides an abstraction for the source / sink that a stream is attached to.
Thanks,
Stefan
-- ...ich hab' noch einen Koffer in Berlin...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk