Jonathan Wakely wrote:
> Do you mean like std::current_exception(), available in c++0x mode?
No, the main purpose of std::exception_ptr is to allow
passing exceptions between threads, but it is pretty
useless if it comes to reasoning about the exception
itself (i.e. it's not dereferencable). What
2010/1/11 Piotr Wyderski:
> Hello,
>
> Is the a way to get access to the currently thrown
> C++ exception object? cxxabi.h gives me only access
> to its std::type_info via __cxa_current_exception_type().
> On the other hand, the ABI documentation describes
> the struct __cxa_exception, but it is no
Hello,
Is the a way to get access to the currently thrown
C++ exception object? cxxabi.h gives me only access
to its std::type_info via __cxa_current_exception_type().
On the other hand, the ABI documentation describes
the struct __cxa_exception, but it is not accessible
via cxxabi.h. Additionally