24 Jul
2008
24 Jul
'08
12:09 p.m.
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