Opened 6 years ago

Closed 5 years ago

#335 closed defect (wontfix)

Specify behavior of default exception handler

Reported by: cowan Owned by: alexshinn
Priority: major Milestone:
Component: WG1 - Core Keywords:


If an exception is caught and leaves the current dynamic extent, obviously the after thunk must be run, but an uncaught exception has no semantics and is basically reverting to "is an error" semantics, i.e. nasal demon territory.

Possibly we should tighten this up in the standard, i.e. specify that there is a default exception handler which enters a continuation outside the extent of the whole program before exiting.

Change History (2)

comment:1 Changed 5 years ago by cowan

  • Status changed from new to decided

The WG voted to reject this proposal and leave the behavior unspecified.

comment:2 Changed 5 years ago by cowan

  • Resolution set to wontfix
  • Status changed from decided to closed
Note: See TracTickets for help on using tickets.