Skip to content

Commit 6a24a95

Browse files
committed
fixup: fixed a number of formatting issues and a type (he -> The)
1 parent 1c45cff commit 6a24a95

File tree

1 file changed

+37
-15
lines changed

1 file changed

+37
-15
lines changed

source/exec.tex

Lines changed: 37 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5789,7 +5789,7 @@
57895789
\pnum
57905790
\exposid{inline-sender} is an exposition-only type that satisfies
57915791
\libconcept{sender}.
5792-
he type \tcode{completion_signatures_of_t<\exposid{inline-sender}>}
5792+
The type \tcode{completion_signatures_of_t<\exposid{inline-sender}>}
57935793
is \tcode{completion_signatures<set_value_t()>}.
57945794

57955795
\pnum
@@ -5810,16 +5810,16 @@
58105810
\end{itemize}
58115811

58125812
\pnum
5813-
Let \placeholder{o} be a non-\tcode{const} lvalue of type
5814-
\tcode{\exposid{inline-state}<Rcvr>}, and let \tcode{REC(@\placeholder{o}@)} be
5813+
Let \tcode{\placeholder{o}} be a non-\tcode{const} lvalue of type
5814+
\tcode{\exposid{inline-state}<Rcvr>}, and let \tcode{REC(\placeholder{o})} be
58155815
a non-\tcode{const} lvalue reference to an object of type \tcode{Rcvr} that
58165816
was initialized with the expression \tcode{rcvr} passed to an
5817-
invocation of \tcode{connect} that returned \placeholder{o}, then:
5817+
invocation of \tcode{connect} that returned \tcode{\placeholder{o}}, then:
58185818
\begin{itemize}
5819-
\item the object to which \tcode{REC(@\placeholder{o}@)} refers remains valid for
5820-
the lifetime of the object to which \tcode{@\placeholder{o}@} refers, and
5821-
\item the expression \tcode{start(@\placeholder{o}@)} is equivalent to
5822-
\tcode{set_value(std::move(REC(@\placeholder{o}@)))}.
5819+
\item the object to which \tcode{REC(\placeholder{o})} refers remains valid for
5820+
the lifetime of the object to which \tcode{\placeholder{o}} refers, and
5821+
\item the expression \tcode{start(\placeholder{o})} is equivalent to
5822+
\tcode{set_value(std::move(REC(\placeholder{o})))}.
58235823
\end{itemize}
58245824

58255825
\rSec2[exec.task.scheduler]{\tcode{execution::task_scheduler}}
@@ -5868,6 +5868,7 @@
58685868
\end{itemdecl}
58695869

58705870
\begin{itemdescr}
5871+
58715872
\pnum
58725873
\effects
58735874
Initialize \exposid{sch_} with
@@ -5891,6 +5892,7 @@
58915892
\end{itemdecl}
58925893

58935894
\begin{itemdescr}
5895+
58945896
\pnum
58955897
\effects
58965898
Returns an object of type \exposid{ts-sender} containing a sender
@@ -5903,6 +5905,7 @@
59035905
\end{itemdecl}
59045906

59055907
\begin{itemdescr}
5908+
59065909
\pnum
59075910
\effects
59085911
Equivalent to: \tcode{return lhs == \exposid{SCHED}(rhs);}
@@ -5917,6 +5920,7 @@
59175920
\end{itemdecl}
59185921

59195922
\begin{itemdescr}
5923+
59205924
\pnum
59215925
\returns
59225926
\tcode{false} if type of \tcode{\exposid{SCHED}(lhs)} is not \tcode{Sch},
@@ -5989,6 +5993,7 @@
59895993
\end{itemdecl}
59905994

59915995
\begin{itemdescr}
5996+
59925997
\pnum
59935998
\effects
59945999
Equivalent to \tcode{start(st)} where \tcode{st} is the operation
@@ -6100,6 +6105,7 @@
61006105
\end{itemdecl}
61016106

61026107
\begin{itemdescr}
6108+
61036109
\pnum
61046110
\effects
61056111
Initializes \exposid{handle} with \tcode{exchange(other.\exposid{handle},
@@ -6112,6 +6118,7 @@
61126118
\end{itemdecl}
61136119

61146120
\begin{itemdescr}
6121+
61156122
\pnum
61166123
\effects
61176124
Equivalent to:
@@ -6128,6 +6135,7 @@
61286135
\end{itemdecl}
61296136

61306137
\begin{itemdescr}
6138+
61316139
\pnum
61326140
\expects
61336141
\tcode{bool(\exposid{handle})} is \tcode{true}.
@@ -6154,21 +6162,19 @@
61546162
void start() & noexcept;
61556163

61566164
private:
6157-
using @\exposidnc{own-env-t}@ = @\seebelow@; // \expos
6158-
coroutine_handle<promise_type> @\exposidnc{handle}@; // \expos
6159-
remove_cvref_t<Rcvr> @\exposidnc{rcvr}@; // \expos
6160-
@\exposid{own-env-t}@ @\exposidnc{own-env}@; // \expos
6165+
using @\exposidnc{own-env-t}@ = @\seebelow@; // \expos
6166+
coroutine_handle<promise_type> @\exposidnc{handle}@; // \expos
6167+
remove_cvref_t<Rcvr> @\exposidnc{rcvr}@; // \expos
6168+
@\exposid{own-env-t}@ @\exposidnc{own-env}@; // \expos
61616169
Environment @\exposidnc{environment}@; // \expos
61626170
};
61636171
}
61646172
\end{codeblock}
61656173

6166-
\begin{itemdescr}
61676174
\pnum
61686175
The type \exposid{own-env-t} is \tcode{Environment::template
61696176
env_type<decltype(get_env(\brk{}declval\brk{}<Rcvr>(\brk{})))\brk{}>} if that
61706177
\grammarterm{qualified-id} is valid and denotes a type, \tcode{env<>} otherwise.
6171-
\end{itemdescr}
61726178

61736179
\indexlibraryctor{task::\exposid{state}}%
61746180
\begin{itemdecl}
@@ -6177,6 +6183,7 @@
61776183
\end{itemdecl}
61786184

61796185
\begin{itemdescr}
6186+
61806187
\pnum
61816188
\effects
61826189
Initializes
@@ -6200,6 +6207,7 @@
62006207
\end{itemdecl}
62016208

62026209
\begin{itemdescr}
6210+
62036211
\pnum
62046212
\effects
62056213
Equivalent to:
@@ -6215,6 +6223,7 @@
62156223
\end{itemdecl}
62166224

62176225
\begin{itemdescr}
6226+
62186227
\pnum
62196228
\effects
62206229
Let \tcode{\placeholder{prom}} be the object \tcode{\exposid{handle}.promise()}.
@@ -6294,7 +6303,7 @@
62946303
stop_source_type @\exposidnc{source}@; // \expos
62956304
stop_token_type @\exposidnc{token}@; // \expos
62966305
optional<T> @\exposidnc{result}@; // \expos; present only if \tcode{is_void_v<T>} is \tcode{false};
6297-
@\exposid{error-variant}@ @\exposidnc{errors}@; // \expos
6306+
@\exposid{error-variant}@ @\exposidnc{errors}@; // \expos
62986307
};
62996308
}
63006309
\end{codeblock}
@@ -6321,6 +6330,7 @@
63216330
\end{itemdecl}
63226331

63236332
\begin{itemdescr}
6333+
63246334
\pnum
63256335
\mandates
63266336
The first parameter of type \tcode{allocator_arg_t} (if any) is not
@@ -6340,6 +6350,7 @@
63406350
\end{itemdecl}
63416351

63426352
\begin{itemdescr}
6353+
63436354
\pnum
63446355
\returns
63456356
A \tcode{task} object whose member \exposid{handle} is
@@ -6352,6 +6363,7 @@
63526363
\end{itemdecl}
63536364

63546365
\begin{itemdescr}
6366+
63556367
\pnum
63566368
\returns
63576369
An awaitable object of unspecified type\iref{expr.await} whose
@@ -6369,6 +6381,7 @@
63696381
\end{itemdecl}
63706382

63716383
\begin{itemdescr}
6384+
63726385
\pnum
63736386
\returns
63746387
An awaitable object of unspecified type\iref{expr.await} whose
@@ -6394,6 +6407,7 @@
63946407
\end{itemdecl}
63956408

63966409
\begin{itemdescr}
6410+
63976411
\pnum
63986412
\mandates
63996413
\tcode{std::move(err.error)} is convertible to exactly one of the
@@ -6416,6 +6430,7 @@
64166430
\end{itemdecl}
64176431

64186432
\begin{itemdescr}
6433+
64196434
\pnum
64206435
\returns
64216436
If \tcode{\libconcept{same_as}<inline_scheduler, scheduler_type>} is \tcode{true}
@@ -6431,6 +6446,7 @@
64316446
\end{itemdecl}
64326447

64336448
\begin{itemdescr}
6449+
64346450
\pnum
64356451
\effects
64366452
Equivalent to:
@@ -6445,6 +6461,7 @@
64456461
\end{itemdecl}
64466462

64476463
\begin{itemdescr}
6464+
64486465
\pnum
64496466
\effects
64506467
If the signature \tcode{set_error_t(exception_ptr)} is not an element
@@ -6458,13 +6475,15 @@
64586475
\end{itemdecl}
64596476

64606477
\begin{itemdescr}
6478+
64616479
\pnum
64626480
\effects
64636481
Completes the asynchronous operation associated with \tcode{\exposid{STATE}(*this)}
64646482
by invoking \tcode{set_stopped(std::move(\exposid{RCVR}(*this)))}.
64656483
\end{itemdescr}
64666484

64676485
\begin{itemdescr}
6486+
64686487
\pnum
64696488
\returns
64706489
\tcode{noop_coroutine()}.
@@ -6476,6 +6495,7 @@
64766495
\end{itemdecl}
64776496

64786497
\begin{itemdescr}
6498+
64796499
\pnum
64806500
\returns
64816501
An object \tcode{env} such that queries are forwarded as follows:
@@ -6498,6 +6518,7 @@
64986518
\end{itemdecl}
64996519

65006520
\begin{itemdescr}
6521+
65016522
\pnum
65026523
If there is no parameter with type \tcode{allocator_arg_t} then let
65036524
\tcode{\placeholder{alloc}} be \tcode{Allocator()}.
@@ -6538,6 +6559,7 @@
65386559
\end{itemdecl}
65396560

65406561
\begin{itemdescr}
6562+
65416563
\pnum
65426564
\expects
65436565
\tcode{pointer} was returned from an invocation of the above overload

0 commit comments

Comments
 (0)