This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21
Core Issues List revision 115e.
See http://www.open-std.org/jtc1/sc22/wg21/ for the official
list.
2024-11-11
792.
Effects of std::quick_exit
Section: 6.9.3.1 [basic.start.main]
Status: CD2
Submitter: US
Date: 3 March, 2009
N2800 comment
US 24
[Voted into WP at October, 2009 meeting.]
6.9.3.1 [basic.start.main] paragraph 4 discusses the effects of calling
std::exit but says nothing about std::quick_exit.
Proposed resolution (July, 2009):
Change 6.9.3.1 [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])...