Boost logo

Boost :

Subject: Re: [boost] review request for boost.context
From: Emil Dotchevski (emil_at_[hidden])
Date: 2010-07-28 14:28:56


On Wed, Jul 28, 2010 at 7:08 AM, Oliver Kowalke <k-oli_at_[hidden]> wrote:
>> How does it behave under c++ exceptions?
>
> Exceptions must catched inside the function invoked by boost::context - if
> not sj/lj exception model is used (DWARF instead) -> see docu.

Wouldn't it be nicer if the framework catches exceptions from the
functions and then propagates them to the caller from jump_to() or a
special function exception_ptr get_error()?

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk