Boost logo

Boost Users :

Subject: Re: [Boost-users] Heap vs. Stack allocation of filtering_streambuf??
From: Daniel Burrows (dburrows_at_[hidden])
Date: 2009-11-19 14:23:22


On Thu, Nov 19, 2009 at 10:44:52AM -0700, Eric R George <Eric.R.George_at_[hidden]> was heard to say:
> This code compiles and runs fine, but the compressed output file,
> 00011.eph.org.bz2, ends up empty. Moving the indicated code to a function
> again works fine - but again, no output??

  I'm not an iostreams expert, but I bet you need to flush and/or close
your stream. If you were deleting it (something you also want to do)
that would probably do it for you.

  Daniel


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net