#include <boost/config.hpp>
#include <cstring> // memcpy
#include <cstddef> // NULL
-#include <exception>
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
#include <boost/archive/dinkumware.hpp>
#endif
+#include <boost/core/uncaught_exceptions.hpp>
#include <boost/core/no_exceptions_support.hpp>
#include <boost/archive/xml_archive_exception.hpp>
template<class Archive>
BOOST_ARCHIVE_DECL
xml_iarchive_impl<Archive>::~xml_iarchive_impl(){
- if(std::uncaught_exception())
+ if(boost::core::uncaught_exceptions() > 0)
return;
if(0 == (this->get_flags() & no_header)){
gimpl->windup(is);