This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 114a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-04-18


882. Defining main as deleted

Section: 6.9.3.1  [basic.start.main]     Status: CD2     Submitter: Steve Adamczyk     Date: 27 April, 2009

It should be stated in 6.9.3.1 [basic.start.main] that it a program that defines main as deleted is ill-formed.

Proposed resolution (July, 2009):

Change 6.9.3.1 [basic.start.main] paragraph 3 as follows:

...A program that declares main to be inline, static, or constexpr, or that defines main as deleted, is ill-formed...