On Sat, 28 May 2011 18:56:23 -0700, Emil Dotchevski
On Sat, May 28, 2011 at 6:27 PM, Mostafa
wrote:
<snip>
If you want to use the error info or exception_ptr functionality, the exception being thrown must derive from boost::exception.
The feature I'm only interested in is using Boost.Exception to enable my exceptions to be "thread-safe" without explicitly or implicitly deriving from boost::exception. It seems that to do so, at a minimum I would need: 1) boost::enable_current_exception 2) boost::rethrow_exception Is this true? boost::rethrow_exception requires exception_ptr and you say the latter requires derivation from boost::exception. So it seems it's not possible to accomplish what I want using the existing Boost.Exception framework. If so, is it possible to add such a feature? Thanks, Mostafa