Skip to content

Commit d389d64

Browse files
jensmaurertkoeppe
authored andcommitted
[dcl.struct.bind,numarray] Use '\dotsc' for comma-separated lists (#2539)
1 parent 3ba8b56 commit d389d64

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source/declarations.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -6165,7 +6165,7 @@
61656165

61666166
\pnum
61676167
A structured binding declaration introduces the \grammarterm{identifier}{s}
6168-
\tcode{v}$_0$, \tcode{v}$_1$, \tcode{v}$_2$, ...
6168+
$\tcode{v}_0$, $\tcode{v}_1$, $\tcode{v}_2, \dotsc$
61696169
of the
61706170
\grammarterm{identifier-list} as names\iref{basic.scope.declarative}
61716171
of \defn{structured binding}{s}.
@@ -6263,7 +6263,7 @@
62636263
the number of elements in the \grammarterm{identifier-list} shall be
62646264
equal to the number of non-static data members of \tcode{E}.
62656265
Designating the non-static data members of \tcode{E} as
6266-
\tcode{m}$_0$, \tcode{m}$_1$, \tcode{m}$_2$, ...
6266+
$\tcode{m}_0$, $\tcode{m}_1$, $\tcode{m}_2, \dotsc$
62676267
(in declaration order),
62686268
each \tcode{v}$_i$ is the
62696269
name of an lvalue that refers to the member \tcode{m}$_i$ of \tcode{e} and

source/numerics.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -7835,7 +7835,7 @@
78357835
\pnum
78367836
\begin{example}
78377837
\tcode{slice(3, 8, 2)}
7838-
constructs a slice which selects elements 3, 5, 7, ... 17 from an array.
7838+
constructs a slice which selects elements $3, 5, 7, \dotsc, 17$ from an array.
78397839
\end{example}
78407840
\end{itemdescr}
78417841

@@ -7913,7 +7913,7 @@
79137913
For the slice shown, the elements
79147914
selected from
79157915
\tcode{a}
7916-
are 1, 4, ..., 13.
7916+
are $1, 4, \dotsc, 13$.
79177917
\end{example}
79187918

79197919
\rSec3[slice.arr.assign]{Assignment}

0 commit comments

Comments
 (0)