This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 119a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-12-20
[Accepted as a DR at the March, 2024 meeting.]
Subclause 6.10.3.1 [basic.start.main] paragraph 3 specifies:
The function main shall not be used within a program. ...
It is unclear what "use" means. N3214 excluded this appearance fromthe clarifications of "use" that were turned into "odr-use". Forexample, it is unclear whetherdecltype(main) is allowed ornot.
CWG 2023-12-01
CWG favored to ban any mention ofmain.
Proposed resolution (approved by CWG 2023-12-15):
Change in 6.10.3.1 [basic.start.main] paragraph 3 as follows:
The functionmain shall not beused within aprogramnamed by an expression. ...