Skip to content

[dcl.array] Clarify that arrays do not have extra padding. #4061

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
Oct 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3084,7 +3084,7 @@
\end{note}

\pnum
An object of type ``array of \tcode{N} \tcode{U}'' contains
An object of type ``array of \tcode{N} \tcode{U}'' consists of
a contiguously allocated non-empty set
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is «contiguously allocated» normative? If not, could it be fixed editorially in this PR or it should be a separate PR?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's wrong with "contiguously allocated"?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've thought we agreed in core reflector that it is not normative, like the wording about how member subobjects are allocated.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't remember. Do you have a pointer?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The participation on the core reflector was low for this question. I'd like to restrict this pull request to the obvious fix "contains" -> "consists of".

of \tcode{N} subobjects of type \tcode{U},
known as the \defnx{elements}{array!element} of the array,
Expand Down