Explicitly call xml_buffered_writer::flush()
If xml_writer::write throws an exception while being called from flush(), the exception is thrown from destructor. Clang in C++11 mode calls std::terminate in this case.
Loading
Please register or sign in to comment