Boost logo

Boost :

Subject: Re: [boost] The noexcept Specifier & Block
From: Ilya Sokolov (ilyasokol_at_[hidden])
Date: 2009-04-17 11:08:04


Stefan Seefeld wrote:
> Alexander Terekhov wrote:
>>>> Two-phase EH.
>>>>
>>> An implementation strategy used by some compilers. It is not
>>> something required by C++. It is mysterious why some popular
>>> compilers insist on using that strategy when they know they are
>>> dealing with C++ applications.
>>>
>>
>> Because that strategy allows to not unwind the stack for unexpected
>> exceptions.
>>
>
> Can you elaborate on that a little ?

Sorry for jumping in. I think he meant unhandled, or uncaught exception,
see 15.3/9 and 15.5.1/2:

"If no matching handler is found in a program, the function terminate()
is called; whether or not the
stack is unwound before this call to terminate() is
implementation-defined (15.5.1)."


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