7 Jan 00:01
Re: Futures Review - future exceptions and boost::exception
Emil Dotchevski <emildotchevski <at> gmail.com>
2009-01-06 23:01:23 GMT
2009-01-06 23:01:23 GMT
On Tue, Jan 6, 2009 at 2:27 PM, vicente.botet <vicente.botet <at> 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 _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
RSS Feed