Skip to content

Commit 98b491c

Browse files
jwakelyzygoloid
authored andcommitted
[futures.task.members] Use math mode for indices and non-C++ ellipses
1 parent abf9da3 commit 98b491c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/threads.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5038,7 +5038,7 @@
50385038
\begin{itemdescr}
50395039
\pnum
50405040
\requires
5041-
\tcode{\placeholdernc{INVOKE}<R>(f, t1, t2, ..., tN)}, where \tcode{t1, t2, ..., tN} are values
5041+
\tcode{\placeholdernc{INVOKE}<R>(f, t$_1$, t$_2$, $\dotsc$, t$_N$)}, where \tcode{t$_1$, t$_2$, $\dotsc$, t$_N$} are values
50425042
of the corresponding types in \tcode{ArgTypes...}, shall be a valid expression. Invoking
50435043
a copy of \tcode{f} shall behave the same as invoking \tcode{f}.
50445044

@@ -5160,10 +5160,10 @@
51605160

51615161
\begin{itemdescr}
51625162
\pnum
5163-
\effects As if by \tcode{\placeholdernc{INVOKE}<R>(f, t1, t2, ..., tN)},
5163+
\effects As if by \tcode{\placeholdernc{INVOKE}<R>(f, t$_1$, t$_2$, $\dotsc$, t$_N$)},
51645164
where \tcode{f} is the
51655165
stored task of \tcode{*this} and
5166-
\tcode{t1, t2, ..., tN} are the values in \tcode{args...}. If the task returns normally,
5166+
\tcode{t$_1$, t$_2$, $\dotsc$, t$_N$} are the values in \tcode{args...}. If the task returns normally,
51675167
the return value is stored as the asynchronous result in the shared state of
51685168
\tcode{*this}, otherwise the exception thrown by the task is stored. The
51695169
shared state of \tcode{*this} is made ready, and any threads blocked in a
@@ -5190,9 +5190,9 @@
51905190

51915191
\begin{itemdescr}
51925192
\pnum
5193-
\effects As if by \tcode{\placeholdernc{INVOKE}<R>(f, t1, t2, ..., tN)},
5193+
\effects As if by \tcode{\placeholdernc{INVOKE}<R>(f, t$_1$, t$_2$, $\dotsc$, t$_N$)},
51945194
where \tcode{f} is the stored task and
5195-
\tcode{t1, t2, ..., tN} are the values in \tcode{args...}. If the task returns normally,
5195+
\tcode{t$_1$, t$_2$, $\dotsc$, t$_N$} are the values in \tcode{args...}. If the task returns normally,
51965196
the return value is stored as the asynchronous result in the shared state of
51975197
\tcode{*this}, otherwise the exception thrown by the task is stored. In either
51985198
case, this shall be done without making that state ready~(\ref{futures.state}) immediately. Schedules

0 commit comments

Comments
 (0)