$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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