Motions 2019 11 cwg 2: P1968R0 Core Language Working Group "tentatively ready" Issues#3485
Merged
Motions 2019 11 cwg 2: P1968R0 Core Language Working Group "tentatively ready" Issues#3485
Conversation
Member
|
CWG2419: What about "hypothetical n-th array element", except that gets us into the 0-th war. Maybe. |
Contributor
Author
It's an improvement, but would have to be the "(n+1)th" element, which gets messy. I went with the existing wording that we have for this in [basic.compound] which uses x[n] to describe the element. |
648dcee to
23a520d
Compare
…on/deallocation functions [expr.new] Replace "argument list" with intended "argument".
…t arrays [expr.eq] Update an additional footnote that was missed by the wording changes.
identify array elements. [expr.add] [expr.rel] [expr.eq] [numeric.ops.midpoint] Remove unused name "x" from footnote.
Member
|
The newest wording here is that in [expr.add], which uses "array element i of |
added 7 commits
November 19, 2019 16:17
[basic.stc.static] Also update "shall last" -> "lasts" here.
23a520d to
fd20a44
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3395.
Fixes #2664.
Issues:
In [expr.add]/bullet 4.2, and, after applying CWG2419, in [numeric.ops.midpoint]/p5 and [expr.rel]/p4, we have the wording:
"a pointer to a hypothetical array element n"
This reads like n is the hypothetical array element, but n is the size of the array.
Can we reword this?