Boost logo

Boost :

Subject: Re: [boost] The noexcept Specifier & Block
From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2009-04-17 14:56:52


On Fri, Apr 17, 2009 at 12:59 PM, Alexander Terekhov <terekhov_at_[hidden]> wrote:
> Gabriel Dos Reis wrote:
> [...]
>> http://www.codesourcery.com/public/cxx-abi/abi-eh.html
>>
>> 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.

Not, if you're talking about the impact of EH.

> There are other benefits provided by two-phase EH apart from resumption.

Such as?

>
> Avoiding unwinding for unexpected exceptions, for example.

Which is not C++ semantics.

>
> regards,
> alexander.
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>


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