Skip to content

Commit 23a520d

Browse files
Dawn Perchikzygoloid
authored andcommitted
[basic.compound] [numeric.ops.midpoint] Fix wording describing the "hypothetical array element" x[n].
1 parent de6e0bf commit 23a520d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎source/algorithms.tex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9780,7 +9780,7 @@
97809780
is considered to belong to a single-element array for this purpose and
97819781
a pointer past the last element of an array \tcode{x} of $n$ elements
97829782
is considered to be equivalent to a pointer
9783-
to a hypothetical array element $n$ for this purpose.
9783+
to a hypothetical array element \tcode{x[$n$]} for this purpose.
97849784
\end{note}
97859785

97869786
\pnum

‎source/basic.tex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5055,7 +5055,7 @@
50555055
a pointer past the end of the last element of
50565056
an array \tcode{x} of $n$ elements
50575057
is considered to be equivalent to
5058-
a pointer to a hypothetical element \tcode{x[$n$]} and
5058+
a pointer to a hypothetical array element \tcode{x[$n$]} and
50595059
an object of type \tcode{T} that is not an array element
50605060
is considered to belong to an array with one element of type \tcode{T}.
50615061
The value representation of

0 commit comments

Comments
 (0)