Skip to content

Commit ff4e562

Browse files
committed
replace some uses of the no-longer-extant tag_t
1 parent 1685da6 commit ff4e562

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

execution.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7842,7 +7842,7 @@ namespace std::execution {
78427842
}
78437843
</pre>
78447844

7845-
2. <code><i>impls-for</i>&lt;tag_t&lt;<i>let-cpo</i>>>::<i>get-state</i></code> is
7845+
2. <code><i>impls-for</i>&lt;<i>decayed-typeof</i>&lt;<i>let-cpo</i>>>::<i>get-state</i></code> is
78467846
is initialized with a callable object equivalent to the following:
78477847

78487848
<pre highlight="c++">
@@ -7867,7 +7867,7 @@ namespace std::execution {
78677867
specialization named by
78687868
<code>completion_signatures_of_t&lt;<i>child-type</i>&lt;Sndr>,
78697869
env_of_t&lt;Rcvr>></code>. Let `LetSigs` be a pack of those types in `Sigs`
7870-
with a return type of <code>tag_t&lt;<i>set-cpo</i>></code>. Let
7870+
with a return type of <code><i>decayed-typeof</i>&lt;<i>set-cpo</i>></code>. Let
78717871
<i>`as-tuple`</i> be an alias template such that
78727872
<code><i>as-tuple</i>&lt;Tag(Args...)></code> denotes the type
78737873
<code><i>decayed-tuple</i>&lt;Args...></code>. Then
@@ -7897,13 +7897,13 @@ namespace std::execution {
78977897
start(op2);
78987898
</pre>
78997899

7900-
4. <code><i>impls-for</i>&lt;tag_t&lt;<i>let-cpo</i>>>::<i>complete</i></code> is
7900+
4. <code><i>impls-for</i>&lt;<i>decayed-typeof</i>&lt;<i>let-cpo</i>>>::<i>complete</i></code> is
79017901
is initialized with a callable object equivalent to the following:
79027902

79037903
<pre highlight="c++">
79047904
[]&lt;class Tag, class... Args>
79057905
(auto, auto& state, auto& rcvr, Tag, Args&&... args) noexcept -> void {
7906-
if constexpr (same_as&lt;Tag, tag_t&lt;<i>set-cpo</i>>>) {
7906+
if constexpr (same_as&lt;Tag, <i>decayed-typeof</i>&lt;<i>set-cpo</i>>>) {
79077907
<i>TRY-EVAL</i>(std::move(rcvr), <i>let-bind</i>(state, rcvr, std::forward&lt;Args>(args)...));
79087908
} else {
79097909
Tag()(std::move(rcvr), std::forward&lt;Args>(args)...);
@@ -7912,7 +7912,7 @@ namespace std::execution {
79127912
</pre>
79137913

79147914
6. Let `sndr` and `env` be subexpressions, and let `Sndr` be `decltype((sndr))`.
7915-
If <code><i>sender-for</i>&lt;Sndr, tag_t&lt;<i>let-cpo</i>>></code> is
7915+
If <code><i>sender-for</i>&lt;Sndr, <i>decayed-typeof</i>&lt;<i>let-cpo</i>>></code> is
79167916
`false`, then the expression <code><i>let-cpo</i>.transform_env(sndr,
79177917
env)</code> is ill-formed. Otherwise, it is equal to
79187918
<code><i>JOIN-ENV</i>(<i>let-env</i>(sndr), <i>FWD-ENV</i>(env))</code>.

0 commit comments

Comments
 (0)