Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::exception crash when throw from library
From: Alexey Badyaev (leemouse_at_[hidden])
Date: 2011-10-07 03:26:12


Emil Dotchevski пишет:

> You can not call diagnostic_information() from an implementation of what().
>
> Diagnostic information from what() is supported by a different
> function, see http://www.boost.org/doc/libs/release/libs/exception/doc/diagnostic_information_what.html.

Dear Emil!
I change my test-case (attached to this email) by your hint.
But test-case crash with message below:

Assertion failed:
::boost::exception_detail::type_info_(typeid(*p)).type_==ti.type_, file
c:\devtools\libs\boost_1_47_0\boost/exception/info.hpp, line 100

EXIT STATUS: 3

-- 
With best regards, Alexey Badyaev
Russian Federation, Kemerovo



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net