Subject: Re: [boost] [Boost-users] Writing large binary files with boost gzip
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-04-07 21:32:14
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
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,
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk