Skip to content

Commit 3d2b5e2

Browse files
committed
fixup: overfull hboxes
1 parent 55f0719 commit 3d2b5e2

File tree

1 file changed

+43
-33
lines changed

1 file changed

+43
-33
lines changed

source/exec.tex

Lines changed: 43 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@
10981098

10991099
\pnum
11001100
The \libconcept{operation_state} concept defines
1101-
the requirements of an operation state type\iref{async.ops}.
1101+
the requirements of an operation state type\iref{exec.async.ops}.
11021102
\begin{codeblock}
11031103
namespace std::execution {
11041104
template<class O>
@@ -1113,7 +1113,7 @@
11131113

11141114
\pnum
11151115
If an \libconcept{operation_state} object is destroyed
1116-
during the lifetime of its asynchronous operation\iref{async.ops},
1116+
during the lifetime of its asynchronous operation\iref{exec.async.ops},
11171117
the behavior is undefined.
11181118
\begin{note}
11191119
The \libconcept{operation_state} concept does not impose requirements
@@ -1132,7 +1132,7 @@
11321132

11331133
\pnum
11341134
The name \tcode{start} denotes a customization point object
1135-
that starts\iref{async.ops}
1135+
that starts\iref{exec.async.ops}
11361136
the asynchronous operation associated with the operation state object.
11371137
For a subexpression \tcode{op},
11381138
the expression \tcode{start(op)} is ill-formed
@@ -1141,7 +1141,7 @@
11411141
\tcode{\exposid{MANDATE-NOTHROW}(op.start())}.
11421142

11431143
\pnum
1144-
If \tcode{op.start()} does not start\iref{async.ops}
1144+
If \tcode{op.start()} does not start\iref{exec.async.ops}
11451145
the asynchronous operation associated with the operation state \tcode{op},
11461146
the behavior of calling \tcode{start(op)} is undefined.
11471147

@@ -1151,7 +1151,8 @@
11511151

11521152
\pnum
11531153
For the purposes of this subclause,
1154-
a sender is an object whose type satisfies the sender concept\iref{async.ops}.
1154+
a sender is an object
1155+
whose type satisfies the sender concept\iref{exec.async.ops}.
11551156

11561157
\pnum
11571158
Subclauses \ref{exec.factories} and \ref{exec.adapt} define
@@ -1173,7 +1174,7 @@
11731174
this set of completion operations.
11741175
Then the type of the expression \tcode{get_completion_signatures(sndr, env)} is
11751176
a specialization of
1176-
the class template \tcode{completion_signatures}\iref{exec.utils.cmplsigs},
1177+
the class template \tcode{completion_signatures}\iref{exec.util.cmplsigs},
11771178
the set of whose template arguments is \tcode{Sigs}.
11781179
If a user-provided implementation of the algorithm
11791180
that produced \tcode{sndr} is selected instead of the default,
@@ -1845,7 +1846,7 @@
18451846
template<class Sndr>
18461847
concept @\defexposconcept{enable-sender}@ = // \expos
18471848
@\exposconcept{is-sender}@<Sndr> ||
1848-
@\exposconcept{is-awaitable}@<Sndr, @\exposconcept{env-promise}@<empty_env>>; // \ref{exec.awaitables}
1849+
@\exposconcept{is-awaitable}@<Sndr, @\exposconcept{env-promise}@<empty_env>>; // \ref{exec.awaitable}
18491850

18501851
template<class Sndr>
18511852
concept @\deflibconcept{sender}@ =
@@ -2132,7 +2133,8 @@
21322133
otherwise, \tcode{static_cast<Env>(std::forward<Env>(env))}.
21332134

21342135
\pnum
2135-
\mandates \tcode{noexcept(e)} is \tcode{true}.
2136+
\mandates
2137+
\tcode{noexcept(e)} is \tcode{true}.
21362138

21372139
\pnum
21382140
\returns
@@ -2707,7 +2709,7 @@
27072709
\pnum
27082710
The name \tcode{starts_on} denotes a customization point object.
27092711
For subexpressions \tcode{sch} and \tcode{sndr},
2710-
if \tcode{decltype((sch))} does not satisfy \libconcept{scheduler}, or
2712+
if \tcode{decltype((\newline sch))} does not satisfy \libconcept{scheduler}, or
27112713
\tcode{decltype((sndr))} does not satisfy \libconcept{sender},
27122714
\tcode{starts_on(sch, sndr)} is ill-formed.
27132715

@@ -2724,8 +2726,8 @@
27242726
\pnum
27252727
Let \tcode{out_sndr} and \tcode{env} be subexpressions
27262728
such that \tcode{OutSndr} is \tcode{decltype((out_sndr))}.
2727-
If \tcode{\exposconcept{sender-for}<OutSndr, starts_on_t>} is \tcode{false},
2728-
then the expressions \tcode{starts_on.transform_env(out_sndr, env)} and
2729+
If \tcode{\exposconcept{sender-for}<Out\-Sndr, starts_on_t>} is \tcode{false},
2730+
then the expressions \tcode{starts_on.transform_env(out_sndr, env)} and\linebreak
27292731
\tcode{starts_on.transform_sender(out_sndr, env)} are ill-formed; otherwise
27302732
\begin{itemize}
27312733
\item
@@ -2801,7 +2803,7 @@
28012803
\pnum
28022804
Let \tcode{sndr} and \tcode{env} be subexpressions
28032805
such that \tcode{Sndr} is \tcode{decltype((sndr))}.
2804-
If \tcode{\exposconcept{sender-for}<Sndr, continues_on_t>} is \tcode{false},
2806+
If \tcode{\exposconcept{sender-for}<Sndr, continues\-_on_t>} is \tcode{false},
28052807
then
28062808
the expression \tcode{continues_on.transform_sender(sndr, env)} is ill-formed;
28072809
otherwise, it is equal to:
@@ -2933,7 +2935,7 @@
29332935
namespace std::execution {
29342936
struct @\exposid{receiver-type}@ {
29352937
using receiver_concept = receiver_t;
2936-
@\exposid{state-type}@* @\exposid{state}@; // exposition only
2938+
@\exposid{state-type}@* @\exposid{state}@; // \expos
29372939

29382940
void set_value() && noexcept {
29392941
visit(
@@ -2972,7 +2974,8 @@
29722974
The member \tcode{\exposid{impls-for}<schedule_from_t>::\exposid{complete}}
29732975
is initialized with a callable object equivalent to the following lambda:
29742976
\begin{codeblock}
2975-
[]<class Tag, class... Args>(auto, auto& state, auto& rcvr, Tag, Args&&... args) noexcept -> void {
2977+
[]<class Tag, class... Args>(auto, auto& state, auto& rcvr, Tag, Args&&... args) noexcept
2978+
-> void {
29762979
using result_t = @\exposid{decayed-tuple}@<Tag, Args...>;
29772980
constexpr bool nothrow = is_nothrow_constructible_v<result_t, Tag, Args...>;
29782981

@@ -3039,7 +3042,7 @@
30393042
\item
30403043
\tcode{decltype((sndr))} does not satisfy \libconcept{sender} and
30413044
\tcode{sndr} is not
3042-
a pipeable sender adaptor closure object\iref{exec.adapt.objects}, or
3045+
a pipeable sender adaptor closure object\iref{exec.adapt.obj}, or
30433046
\item
30443047
\tcode{decltype((sndr))} satisfies \libconcept{sender} and
30453048
\tcode{sndr }is also a pipeable sender adaptor closure object.
@@ -3063,7 +3066,7 @@
30633066
\item
30643067
\tcode{decltype((sndr))} does not satisfy \libconcept{sender}, or
30653068
\item
3066-
\tcode{closure} is not a pipeable sender adaptor closure object\iref{exec.adapt.objects},
3069+
\tcode{closure} is not a pipeable sender adaptor closure object\iref{exec.adapt.obj},
30673070
\end{itemize}
30683071
the expression \tcode{on(sndr, sch, closure)} is ill-formed;
30693072
otherwise, it is expression-equivalent to:
@@ -3077,7 +3080,7 @@
30773080
\pnum
30783081
Let \tcode{out_sndr} and \tcode{env} be subexpressions,
30793082
let \tcode{OutSndr} be \tcode{decltype((out_sndr))}, and
3080-
let \tcode{Env} be \tcode{decltype((env))}.
3083+
let \tcode{Env} be \tcode{decltype((\linebreak env))}.
30813084
If \tcode{\exposconcept{sender-for}<OutSndr, on_t>} is \tcode{false},
30823085
then the expressions \tcode{on.transform_env(out_sndr, env)} and
30833086
\tcode{on.transform_sender(out_sndr, env)} are ill-formed.
@@ -3239,7 +3242,7 @@
32393242
For subexpressions \tcode{sndr} and \tcode{f},
32403243
if \tcode{decltype((sndr))} does not satisfy \libconcept{sender}, or
32413244
\tcode{decltype((f))} does not satisfy \exposid{movable-value},
3242-
\tcode{\exposid{then-cpo}(sndr, f) }is ill-formed.
3245+
\tcode{\exposid{then-cpo}(\linebreak sndr, f) }is ill-formed.
32433246

32443247
\pnum
32453248
Otherwise,
@@ -3374,8 +3377,8 @@
33743377
return @\exposid{JOIN-ENV}@(@\exposid{env}@, @\exposid{FWD-ENV}@(execution::get_env(@\exposid{rcvr}@)));
33753378
}
33763379

3377-
Rcvr& @\exposid{rcvr}@; // exposition only
3378-
Env @\exposid{env}@; // exposition only
3380+
Rcvr& @\exposid{rcvr}@; // \expos
3381+
Env @\exposid{env}@; // \expos
33793382
};
33803383
}
33813384
\end{codeblock}
@@ -3392,10 +3395,10 @@
33923395
using ops2_variant_t = @\seebelow@;
33933396

33943397
struct @\exposid{state-type}@ {
3395-
fn_t @\exposid{fn}@; // exposition only
3396-
env_t @\exposid{env}@; // exposition only
3397-
args_variant_t @\exposid{args}@; // exposition only
3398-
ops2_variant_t @\exposid{ops2}@; // exposition only
3398+
fn_t @\exposid{fn}@; // \expos
3399+
env_t @\exposid{env}@; // \expos
3400+
args_variant_t @\exposid{args}@; // \expos
3401+
ops2_variant_t @\exposid{ops2}@; // \expos
33993402
};
34003403
return @\exposid{state-type}@{std::forward_like<Sndr>(fn), @\exposid{let-env}@(child), {}, {}};
34013404
}
@@ -3408,7 +3411,7 @@
34083411
Let \tcode{LetSigs} be a pack of those types in \tcode{Sigs}
34093412
with a return type of \tcode{\exposid{decayed-typeof}<\exposid{set-cpo}>}.
34103413
Let \exposid{as-tuple} be an alias template
3411-
such that \tcode{\exposid{as-tuple}<Tag(Args...)>} denotes
3414+
such that \tcode{\exposid{as-tuple}<\linebreak Tag(Args...)>} denotes
34123415
the type \tcode{\exposid{decayed-tuple}<Args...>}.
34133416
Then \tcode{args_variant_t} denotes
34143417
the type \tcode{variant<monostate, \exposid{as-tuple}<LetSigs>...>}
@@ -3420,7 +3423,10 @@
34203423
such that \tcode{\exposid{as-sndr2}<Tag(Args...)>} denotes
34213424
the type \tcode{\exposid{call-result-t}<Fn, decay_t<Args>\&...>}.
34223425
Then \tcode{ops2_variant_t} denotes
3423-
the type \tcode{variant<monostate, connect_result_t<\exposid{as-sndr2}<LetSigs>, \exposid{receiver2}<Rcvr, Env>>...>}
3426+
the type
3427+
\begin{codeblock}
3428+
variant<monostate, connect_result_t<@\exposid{as-sndr2}@<LetSigs>, @\exposid{receiver2}@<Rcvr, Env>>...>
3429+
\end{codeblock}
34243430
except with duplicate types removed.
34253431

34263432
\pnum
@@ -3460,7 +3466,7 @@
34603466
Let \tcode{sndr} and \tcode{env} be subexpressions, and
34613467
let \tcode{Sndr} be \tcode{decltype((sndr))}.
34623468
If
3463-
\tcode{\exposconcept{sender-for<}Sndr, \exposid{decayed-typeof}<\exposid{let-cpo}>>}
3469+
\tcode{\exposconcept{sender-for<}Sndr, \exposid{decayed-\linebreak typeof}<\exposid{let-cpo}>>}
34643470
is \tcode{false},
34653471
then the expression \tcode{\exposid{let-cpo}.transform_env(sndr, env)}
34663472
is ill-formed.
@@ -3770,7 +3776,9 @@
37703776
such that \tcode{\exposid{as-tuple}<Tag(Args...)>} denotes
37713777
the type \tcode{\exposid{decayed-tuple}<Tag, Args...>}.
37723778
Then \exposid{variant-type} denotes the type
3773-
\tcode{variant<tuple<set_stopped_t>, tuple<set_error_t, exception_ptr>, \exposid{as-tuple}<Sigs>...>},
3779+
\begin{codeblock}
3780+
variant<tuple<set_stopped_t>, tuple<set_error_t, exception_ptr>, @\exposid{as-tuple}@<Sigs>...>
3781+
\end{codeblock}
37743782
but with duplicate types removed.
37753783

37763784
\pnum
@@ -3786,7 +3794,7 @@
37863794
\pnum
37873795
\effects
37883796
Initializes \exposid{op_state} with the result of
3789-
\tcode{connect(std::forward<Sndr>(sndr), \exposid{split-receiver}\{this\})}.
3797+
\tcode{connect(std::forward<Sndr>(sndr), \exposid{split-re\-ceiver}\{this\})}.
37903798

37913799
\pnum
37923800
\ensures
@@ -4083,12 +4091,14 @@
40834091

40844092
\pnum
40854093
The alias \tcode{values_tuple} denotes the type
4086-
\tcode{tuple<value_types_of_t<Sndrs, env_of_t<Rcvr>, decayed-tuple, optional>...>}
4094+
\begin{codeblock}
4095+
tuple<value_types_of_t<Sndrs, env_of_t<Rcvr>, decayed-tuple, optional>...>
4096+
\end{codeblock}
40874097
if that type is well-formed; otherwise, \tcode{tuple<>}.
40884098

40894099
\pnum
40904100
The alias \tcode{errors_variant} denotes
4091-
the type \tcode{variant<none-such, copy-fail, Es...>}
4101+
the type \tcode{variant<\exposid{none-such}, \exposid{copy-fail}, Es...>}
40924102
with duplicate types removed,
40934103
where \tcode{Es} is the pack of the decayed types
40944104
of all the child senders' possible error result datums.
@@ -4189,7 +4199,7 @@
41894199
}
41904200
\end{codeblock}
41914201
if the expression \tcode{decltype(auto(e))(e)} is potentially throwing;
4192-
otherwise, \tcode{v.template emplace<decltype(auto(e))>(e)};
4202+
otherwise, \tcode{v.template emplace<decl\-type(auto(e))>(e)};
41934203
and where \tcode{\exposid{TRY-EMPLACE-VALUE}(c, o, as...)},
41944204
for subexpressions \tcode{c}, \tcode{o}, and pack of subexpressions \tcode{as},
41954205
is equivalent to:
@@ -4203,7 +4213,7 @@
42034213
\end{codeblock}
42044214
if the expression \tcode{decayed-tuple<decltype(as)...>\{as...\}}
42054215
is potentially throwing;
4206-
otherwise, \tcode{o.emplace(as...)}.
4216+
otherwise, \tcode{o.emplace(\linebreak as...)}.
42074217

42084218
\pnum
42094219
The expression \tcode{when_all_with_variant(sndrs...)}

0 commit comments

Comments
 (0)