Boost logo

Boost Users :

From: James Dennett (jdennett_at_[hidden])
Date: 2007-01-07 13:53:10


Robert Ramey wrote:
> sadrok wrote:
>
>> I notice that the XML is not completed, but this doesn't seem to be a
>> problem.
>>
>
> This is usually caused by closing the output stream before the archive
> destructor is called. Its the archive destructor which finishes up
> the the xml in the archive.

Is there an explicit way to flush the archive before
reaching its destructor? Presumably writing output
to a stream can cause an exception to be thrown, and
we would want to be able to handle such errors rather
than hitting terminate().

-- James


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