Subject: Re: [boost] The noexcept Specifier & Block
From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2009-04-17 13:59:49
Gabriel Dos Reis wrote:
> And quoting for the document:
> # A two-phase exception-handling model is not strictly necessary to implement
> # C++ language semantics, but it does provide some benefits. For example,
> # the first phase allows an exception-handling mechanism to dismiss an
> # exception before stack unwinding begins, which allows resumptive exception
> # handling (correcting the exceptional condition and resuming execution at
> # the point where it was raised). While C++ does not support resumptive
> # exception handling, other languages do, and the two-phase model allows
> # C++ to coexist with those languages on the stack.
> How many industrial strength languages support resumptive exception handling?
Irrelevant. There are other benefits provided by two-phase EH apart from resumption.
Avoiding unwinding for unexpected exceptions, for example.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk