Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P2223 Trimming whitespaces before line splicing #925

Closed
wg21bot opened this issue Sep 23, 2020 · 6 comments · Fixed by cplusplus/draft#4666
Closed

P2223 Trimming whitespaces before line splicing #925

wg21bot opened this issue Sep 23, 2020 · 6 comments · Fixed by cplusplus/draft#4666
Labels
C++23 CWG plenary-approved SG22
Projects
Milestone

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Sep 23, 2020

P2223R0 Trimming whitespaces before line splicing (Corentin Jabot)

@wg21bot wg21bot added CWG EWG labels Sep 23, 2020
@wg21bot wg21bot added this to the 2020-telecon milestone Sep 23, 2020
@jfbastien jfbastien removed the CWG label Sep 23, 2020
@jfbastien
Copy link
Collaborator

jfbastien commented Oct 14, 2020

Seen in today's EWG telecon.

P2223R0 make trailing whitespace after an end-of-line backslash non-significant (note: this leaves handling of raw string literals untouched).

SF F N A SA
3 9 1 0 0

P2223R0 fix CWG1698 as proposed in the paper.

SF F N A SA
0 4 3 1 2

Corentin will update the paper, and then we'll vote on sending it to CWG.

@jfbastien jfbastien added EWG-vote-on-me needs-revision labels Oct 14, 2020
@wg21bot
Copy link
Collaborator Author

wg21bot commented Oct 27, 2020

P2223R1 Trimming whitespaces before line splicing (Corentin Jabot)

@wg21bot wg21bot removed the needs-revision label Oct 27, 2020
@jensmaurer jensmaurer modified the milestones: 2020-telecon, 2021-telecon Dec 28, 2020
@AaronBallman AaronBallman added the SG22 label Jan 22, 2021
@jensmaurer jensmaurer added this to Ready for review in CWG Feb 2, 2021
@jfbastien
Copy link
Collaborator

jfbastien commented Mar 9, 2021

EWG February 2021 polls:

Poll: Forward P2223R1 "Trimming whitespaces before line splicing" to Core, thereby also fixing [CWG1698].

SF F N A SA
11 15 4 0 0

Poll outcome: consensus.

Salient comments:

  • Strongly in favor as this aligns the standard with common practice, avoids contorting standard wording by implementations in order to claim conformance while producing the behavior programmers want, and avoids needless surprised and implementation divergence.
  • We should not have implementation divergence on this, and this direction to resolve it is good.
  • I’m not particularly excited about this paper because it only partially solves the problem of implementation divergence in this space and does not outline a play to solve all the existing issues in a consistent way. This will not likely impact my users.
  • Invisible differences in the behavior of code are bad.
  • Reducing divergence in compilers is good.
  • I find this somewhat unimportant.

@jfbastien jfbastien added CWG and removed EWG EWG-vote-on-me labels Mar 9, 2021
@jensmaurer jensmaurer moved this from Ready for review to Approved for plenary vote in CWG Apr 12, 2021
@jensmaurer
Copy link
Member

jensmaurer commented Apr 12, 2021

CWG 2021-04-12: Approved D2223R2 for plenary vote.

@jensmaurer jensmaurer added the straw-poll label Apr 12, 2021
@wg21bot
Copy link
Collaborator Author

wg21bot commented Apr 25, 2021

P2223R2 Trimming whitespaces before line splicing (Corentin Jabot)

@cor3ntin cor3ntin added plenary-approved C++23 labels Jun 7, 2021
@wg21bot
Copy link
Collaborator Author

wg21bot commented Oct 26, 2021

Adopted 2021-06.

@jensmaurer jensmaurer removed the straw-poll label Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++23 CWG plenary-approved SG22
Projects
CWG
Approved for plenary vote
Development

Successfully merging a pull request may close this issue.

5 participants