
6 Jan
2009
6 Jan
'09
11:01 p.m.
On Tue, Jan 6, 2009 at 2:27 PM, vicente.botet <vicente.botet@wanadoo.fr> wrote:
Shouldn't future exceptions inherit from boost::exception in order to work with boost::throw_exception and be able to transfer these exception between threads?
Inheritance from boost::exception does not guarantee the ability to use current_exception/exception_ptr, throwing using boost::throw_exception or BOOST_THROW_EXCEPTION does (BOOST_THROW_EXCEPTION is preferable because it'll automatically capture the file/line location of the throw.) -- Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode