Skip to content

[dcl.type.auto.deduct] Change plural "occurrences" to singular #7644

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

Merged
merged 1 commit into from
Jun 22, 2025

Conversation

lprv
Copy link
Contributor

@lprv lprv commented Feb 14, 2025

The rules for decl-specifiers do not allow auto to appear more than once in the declared type of a variable, so the plural "occurrences" in this paragraph is potentially misleading.

This wording originates from N1984. In the paper, "occurrence" is singular, but in N2009 it somehow gained an "s".

@tkoeppe
Copy link
Contributor

tkoeppe commented Jun 22, 2025

@sdutoit: would you happen to have any recollection when this was changed to plural? This was before GitHub...

@sdutoit
Copy link
Contributor

sdutoit commented Jun 22, 2025

That's before my time as well. You’d have to check with Pete Becker I think.

@sdutoit
Copy link
Contributor

sdutoit commented Jun 22, 2025

I suspect it was just a typo while applying the paper though.

@tkoeppe
Copy link
Contributor

tkoeppe commented Jun 22, 2025

Yes, interesting, seems like a misapplication. Thanks!

@tkoeppe tkoeppe merged commit 4726d67 into cplusplus:main Jun 22, 2025
2 checks passed
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.

3 participants