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 · 5 comments
Closed

P2223 Trimming whitespaces before line splicing #925

wg21bot opened this issue Sep 23, 2020 · 5 comments

Comments

@wg21bot
Copy link
Collaborator

@wg21bot wg21bot commented Sep 23, 2020

P2223R0 Trimming whitespaces before line splicing (Corentin Jabot)

@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 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.

@wg21bot
Copy link
Collaborator Author

@wg21bot wg21bot commented Oct 27, 2020

P2223R1 Trimming whitespaces before line splicing (Corentin Jabot)

@jensmaurer jensmaurer removed this from the 2020-telecon milestone Dec 28, 2020
@jensmaurer jensmaurer added this to the 2021-telecon milestone Dec 28, 2020
@jensmaurer jensmaurer added this to Ready for review in CWG Feb 2, 2021
@jfbastien
Copy link
Collaborator

@jfbastien 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.

@jensmaurer jensmaurer moved this from Ready for review to Approved for plenary vote in CWG Apr 12, 2021
@jensmaurer
Copy link
Member

@jensmaurer jensmaurer commented Apr 12, 2021

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

@wg21bot
Copy link
Collaborator Author

@wg21bot wg21bot commented Apr 25, 2021

P2223R2 Trimming whitespaces before line splicing (Corentin Jabot)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
CWG
Approved for plenary vote
Linked pull requests

Successfully merging a pull request may close this issue.

5 participants