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

[conv.array] should be updated to use new array element terminology #3497

Open
zygoloid opened this issue Nov 20, 2019 · 3 comments
Open

[conv.array] should be updated to use new array element terminology #3497

zygoloid opened this issue Nov 20, 2019 · 3 comments

Comments

@zygoloid
Copy link
Member

The result is a pointer to the first element of the array.

should in our new terminological model be phrased as

The result is a pointer to the element 0 of the array.

(But also: what is "the array"? "the array object that is the result of the possibly-converted expression" would be clearer.)

@burblebee
Copy link
Contributor

fwiw, I find this "new terminological model" phrasing to be problematic - how can one disambiguate it from when we want to talk about an actual element 0 in an array?

@jensmaurer
Copy link
Member

@burblebee: But we are talking about the actual element 0 here. I don't understand your concern.

@frederick-vs-ja
Copy link
Contributor

Given an array object defined as int a[]{ -1, 0 };, the phrasing "element 0" seems to be ambiguous.

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

4 participants