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

[basic.lookup.unqual]/6 is hard to parse #451

Closed
jwakely opened this issue Mar 12, 2015 · 1 comment
Closed

[basic.lookup.unqual]/6 is hard to parse #451

jwakely opened this issue Mar 12, 2015 · 1 comment
Assignees

Comments

@jwakely
Copy link
Member

jwakely commented Mar 12, 2015

A name used in the definition of a function following the function’s declarator-id that is a member of namespace N

What does "that is a member of namespace N" refer to, the name or the function?

Normal English grammar would suggest it refers to the name, but the rest of the paragraph only seems to make sense if it refers to the function.

If I'm reading it correctly (which I'm still not sure about) "following the function's declarator-id" refers to where the name is used, but "is a member of namespace N" refers to the function, and yet neither of those clauses is adjacent to the thing they refer to!

This is like "The grass, in my garden, which is green, behind my house, ..."

@zygoloid
Copy link
Member

Maybe something like "In the definition of a function that is a member of namespace N, a name used after the function's declarator-id is looked up in the following [...]" would be more natural.

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

No branches or pull requests

3 participants