Boost logo

Boost :

Subject: Re: [boost] [iostream] closing filtering_ostream
From: Frédéric Bron (frederic.bron_at_[hidden])
Date: 2009-11-23 04:05:53


> So I assume something is closed in destructor, but what if I don't want the destructor to
> potentially throw, and instead what to close the stream explicitly?

You just have to pop the sink: os.pop() ;

Frédéric


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk