Subject: Re: [boost] [context] ready
From: Helge Bahmann (hcb_at_[hidden])
Date: 2011-11-09 09:35:41
On Wednesday 09 November 2011 10:36:32 TONGARI wrote:
> 2011/11/9 Oliver Kowalke <oliver.kowalke_at_[hidden]>
> > ex_unwind_stack is swallowed by boost::context - it is required in order
> > to implement expilict stack unwinding.
> > It is important that the user dosn't swallow this exception!
> > I think the best would be that the user dosn't know the type of this
> > exception (unnamed exception?) - not sure if I should supress this info
> > or note it explicitly in the docu.
> Indeed the user should not swallow it, but there's no reason to prohibit
> the user from using catch(...) as well, so why not let the user catch and
> rethrow ex_unwind_stack explicitly for stack unwinding?
actually "catch(...)" not followed by "throw;" just causes lots of other
problems (see for example http://udrepper.livejournal.com/21541.html) so that
it should indeed be considered prohibited on a general basis
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk