Skip to content

Commit 5001c21

Browse files
committed
fixup: minor fixes from burblebee
1 parent 2225ef5 commit 5001c21

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

source/compatibility.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
Valid \CppXX{} code that uses a comma expression within a
5252
subscript expression may fail to compile. For example:
5353
\begin{codeblock}
54-
arr[1, 2] // was equivalent to \tcode{arr[(1, 2)]}, now equivalent to \tcode{arr.\keyword{operator}[](1, 2)} or ill-formed
54+
arr[1, 2] // was equivalent to \tcode{arr[(1, 2)]},
55+
// now equivalent to \tcode{arr.operator[](1, 2)} or ill-formed
5556
\end{codeblock}
5657

5758
\rSec2[diff.cpp20.utilities]{\ref{utilities}: general utilities library}

source/expressions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2948,7 +2948,7 @@
29482948
\pnum
29492949
\indextext{operator!subscripting}%
29502950
\indextext{\idxcode{[]}|see{operator, subscripting}}%
2951-
A subscript expression is a postfix expression
2951+
A \defnadj{subscript}{expression} is a postfix expression
29522952
followed by square brackets containing
29532953
a possibly empty, comma-separated list of \grammarterm{initializer-clause}s
29542954
which constitute the arguments to the subscript operator.

0 commit comments

Comments
 (0)