-
Notifications
You must be signed in to change notification settings - Fork 772
Replace "typedef name" with <grammar>typedef-name</> #4401
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
Comments
(This has lots of conflicts with Davis' paper, so this needs to wait a little.) |
@tkoeppe , do you want to similarly replace in "typedef name for linkage purposes", which is a stand-alone defined term? |
Is "typedef name for linkage purposes" actually defined? I couldn't find the definition, just circular references. (It's also not indexed.) It looks like "{general} name for linkage purposes" is the defined term, and then "typedef name" is just an application of that -- in which case it suffers form the same problem as reported here. (If instead the whole phrase were a defined term, I'd be happy to keep it and use it.) |
dcl.typedef p4
Is very close to a definition. |
Hm, that just sounds like a definition that fills in "typedef-name" into "{general} name for linkage purposes", so that would suggest that we should indeed say "typedef-name for linkage purposes" everywhere. Otherwise we should add something to that paragraph like, "which is called the typedef name for linkage purposes [index]" (but that seems uncalled for). |
I've made a suggestion for a proper definition in the linked pull request. |
On a few occasions, we say "typedef name", which is never defined. Reflector discussion suggests that this is potential holdover from C, which infers English names from grammar names, but we don't do this in C++.
Resolution: replace "typedef name" with typedef-name everywhere.
The text was updated successfully, but these errors were encountered: