This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 110b. See for the official list.


792. Effects of std::quick_exit

Section:  [basic.start.main]     Status: CD2     Submitter: US     Date: 3 March, 2009

N2800 comment US 24

[Voted into WP at October, 2009 meeting.] [basic.start.main] paragraph 4 discusses the effects of calling std::exit but says nothing about std::quick_exit.

Proposed resolution (July, 2009):

Change [basic.start.main] paragraph 4 as follows:

Calling the function std::exit(int) declared in <cstdlib> (17.5 [support.start.term]) terminates Terminating the program without leaving the current block (e.g., by calling the function std::exit(int) (17.5 [support.start.term])) and hence without destroying does not destroy any objects with automatic storage duration (11.4.7 [class.dtor])...