Boost logo

Boost :

From: Vyacheslav E. Andrejev (vandrejev_at_[hidden])
Date: 2005-04-08 06:28:24

Hello Robert,

I spent a lot of time trying to understand where my program failed. Finally,
I found that the cause was in destructor of basic_xml_oarchive class:

template<class Archive>
#if !defined(__BORLANDC__)

basic_text_oprimitive::put(const char * s) can throw an exception, causing
unexpected termination of program when stack unwind. I heard many times that
uncaught exception in destructor is not very good thing. Should we consider
refactoring of this point in basic_xml_oarchive?


Vyacheslav E. Andrejev
System Architect, Excelsior, LLC

Boost list run by bdawes at, gregod at, cpdaniel at, john at