
11 Feb
2005
11 Feb
'05
1:18 p.m.
Hello, All! I think that basic_xml_oarchive destructor can be more safe if uncaught_exception examination will be added, because put sometimes can throw exceptions: template<class Archive> basic_xml_oarchive<Archive>::~basic_xml_oarchive(){ if(!header) return; if (!std::uncaught_exception()) this->This()->put("</boost_serialization>\n"); } With best regards, Sergey.