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

Inconsistent cross-references for array of unknown bound #5146

Closed
jwakely opened this issue Dec 12, 2021 · 2 comments · Fixed by #5147
Closed

Inconsistent cross-references for array of unknown bound #5146

jwakely opened this issue Dec 12, 2021 · 2 comments · Fixed by #5147
Assignees

Comments

@jwakely
Copy link
Member

jwakely commented Dec 12, 2021

[range.prim.size] p2 (2.1) says:

If T is an array of unknown bound ([dcl.array]), ranges​::​size(E) is ill-formed.

But [range.prim.empty] p2 (2.1) says:

If T is an array of unknown bound ([basic.compound]), ranges​::​empty(E) is ill-formed.

The xref should be the same.

@CaseyCarter
Copy link
Contributor

I think both should be cross-referencing [dcl.array].

@JohelEGP
Copy link
Contributor

Or a label for "array of unknown bound".

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 a pull request may close this issue.

4 participants