$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2008-07-24 08:09:49
Bruno Lalande wrote:
> Hello,
>
> Doesn't the standard guaranty that the following would have the same
> effect in terms of order of destruction??
>
> {
> std::ostream os
> boost::archive::xml_oarchive ar(os)
> } // archive destructor writes endtag, THEN stream destructor closes stream
Yes, but for at least ostringstream you've lost your output. :-)
Jeff