22 Nov
2011
22 Nov
'11
7:16 p.m.
On Tue, Nov 22, 2011 at 9:01 AM, Soderback, Johan
Thanx Alex,
It works but not when I have the boost::current_exception_diagnostic_information() call in the throwf() as in my example.
void throwf() { try { BOOST_THROW_EXCEPTION(TheException()); } catch (...) { boost::current_exception_diagnostic_information(); boost::rethrow_exception( boost::current_exception() ); // or just throw; } }
The plain throw version seems to work as well without it, the call certainly triggers something. Anyway, any idea what could be wrong?
/Johan
Seems suspicious, probably a bug in boost::exception_ptr. I'll look into it as time permits. Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode