From: Sergey Skorniakov (s.skorniakov_at_[hidden])
Date: 2005-02-11 08:18:18


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.