Re: [boost] [Boost-users] Writing large binary files with boost gzip

AMDG On 04/07/2011 05:39 PM, Anders Knudby wrote:
Many thanks for the quick response. And apologies for being a total newbie, but how do I close the stream (and how do I check that it has been closed)? With normal iostreams I would just write "out.close();", out being the name of the stream. But that doesn't seem to be the way to do it for filtering_iostreams?!?
It should be closed when it goes out of scope or when you call pop.
And I would think it would close when it goes out of scope, but I haven't checked.
Yes, the stream is closed when it goes out of scope.
Any help appreciated. I'm pleased it worked for you on Linux, but I'm largely stuck with Windows for the time being...
I can try it on Windows, but it'll take a little bit, as I don't have zlib installed, right now. In Christ, Steven Watanabe
participants (1)
-
Steven Watanabe