Created on 2024-06-17.00:00:00 last changed yesterday
Proposed resolution (approved by CWG 2024-08-16):
Change in 15.7 [cpp.line] paragraph 2 as follows:
The line number of the current source line is the line number of the current physical source line, i.e. it is one greater than the number of new-line characters read or introduced in translation phase 1 (5.2 [lex.phases]) while processing the source file to the current token.
Given the existing implementation divergence, it should be clarified that __LINE__ counts physical source lines, not logical ones.
History | |||
---|---|---|---|
Date | User | Action | Args |
2024-11-19 12:01:24 | admin | set | status: tentatively ready -> ready |
2024-08-16 19:45:15 | admin | set | messages: + msg7797 |
2024-08-16 19:45:15 | admin | set | status: open -> tentatively ready |
2024-06-17 00:00:00 | admin | create |