Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: cxx-abi-dev-return-1652-dhandly=cup.hp.com@xxxxxxxxxxxxxxxx, dhandly@xxxxxxxxxx
  • Subject: Re: [cxx-abi-dev] __cxa_vec_new2 and deallocation functions that throw exceptions
  • From: Dennis Handly <dhandly@xxxxxxxxxx>
  • Date: Thu, 15 May 2003 00:13:57 -0700 (PDT)

>[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.