Created on 2023-10-12.00:00:00 last changed 4 months ago
Proposed resolution (approved by CWG 2023-12-15):
Change in 6.9.3.1 [basic.start.main] paragraph 3 as follows:
The function main shall not beused within a programnamed by an expression. ...
CWG 2023-12-01
CWG favored to ban any mention of main.
[Accepted as a DR at the March, 2024 meeting.]
Subclause 6.9.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 from the clarifications of "use" that were turned into "odr-use". For example, it is unclear whether decltype(main) is allowed or not.
History | |||
---|---|---|---|
Date | User | Action | Args |
2024-07-20 13:52:34 | admin | set | status: dr -> drwp |
2024-04-05 21:43:46 | admin | set | status: ready -> dr |
2024-03-20 14:10:31 | admin | set | status: tentatively ready -> ready |
2023-12-16 00:18:01 | admin | set | status: review -> tentatively ready |
2023-12-02 13:35:39 | admin | set | messages: + msg7532 |
2023-12-02 13:35:39 | admin | set | status: open -> review |
2023-10-18 19:38:14 | admin | set | messages: + msg7464 |
2023-10-12 00:00:00 | admin | create |