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

LWG3031 Fix missing code-formatting of const #6936

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

Eisenwave
Copy link
Contributor

https://cplusplus.github.io/LWG/issue3031 proposed approved wording that includes:

(possibly const)

However, all of these occurrences were formatted as plain "(possibly const)".

On top of being an editorial mistake, it's also somewhat misleading, as this shifts the intuition of the reader towards "const objects", and away from "const on T". It's clear from the surrounding wording that this const refers to types, but it's still easier to understand the wording with intended formatting in my opinion.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@jensmaurer jensmaurer merged commit c5e007a into cplusplus:main Apr 19, 2024
2 checks passed
jensmaurer pushed a commit that referenced this pull request Apr 19, 2024
@Eisenwave
Copy link
Contributor Author

@jensmaurer I probably should have noticed this sooner, but while the wording change is approved by LWG, I believe the editorial decision in #117 supersedes that.

I guess that's why it hasn't been edited into the draft with const included.

@jensmaurer
Copy link
Member

Urks. Revert time, I guess.

jensmaurer added a commit that referenced this pull request Apr 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
This reverts commit c5e007a.
@tkoeppe
Copy link
Contributor

tkoeppe commented Apr 19, 2024

I removed this commit. Yes, we don't mark up "possibly const", it seems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants