[cxx-abi-dev] __cxa_vec_new2 and deallocation functions that throw exceptions

Dennis Handly dhandly at cup.hp.com
Thu May 15 07:13:57 UTC 2003


>[except.terminate]
>  --when the exception handling mechanism, after completing evaluation
>    of the expression to be thrown but before the exception is caught
>    (_except.throw_), calls a user function that exits via an uncaught
>    exception,1)

So what does uncaught exception mean?  Any exception without a handler?
(That footnote needs to be expanded.)

Or anytime you throw when uncaught_exception is true, 18.6.4(2)?

This disallows throws that are caught locally in destructors, while
unwinding.  Or is this not "exiting", so legal?

>The exception has not yet been caught.  The exception-handling mechanism
>calls a user function (the deallocation routine) which exits via an exception.
Mark Mitchell

I wasn't clear what uncaught exception meant and whether "nesting" of throw
is allowed.



More information about the cxx-abi-dev mailing list