Skip to content

Commit e23df6c

Browse files
committed
Tweak wording of 4347
1 parent e9eb050 commit e23df6c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

xml/issue4347.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ void start() & noexcept;
122122
</pre>
123123
<p>
124124
<ins>-6- <i>Effects</i>: If <code>same_as&lt;decltype(declval&lt;stop_source_type&gt;().get_token()), decltype(get_stop_token(get_env(<i>rcvr</i>)))&gt;</code> is <code>true</code> returns <code>get_stop_token(get_env(<i>rcvr</i>))</code>.
125-
Otherwise, if <code><i>source</i>.has_value()</code> is <code>false</code>, initializes <code><i>source</i></code> such that</ins>
125+
Otherwise, if <code><i>source</i>.has_value()</code> is <code>false</code>,
126+
initializes the contained value of <code><i>source</i></code> such that</ins>
126127
</p>
127128
<ul>
128129
<li><ins> -6.1- -- <code><i>source</i>-&gt;stop_requested()</code> returns <code>get_stop_token(get_env(<i>rcvr</i>))-&gt;stop_requested()</code>; and</ins></li>
@@ -177,7 +178,7 @@ Change the specification of <code>get_env</code> in <sref ref="[task.promise]"/>
177178
-16.3- -- <code>env.query(get_stop_token)</code> returns <del><code><i>token</i></code></del><ins><code><i>STATE</i>(*this).<i>get-stop-token</i>()</code></ins>.
178179
</p>
179180
<p>
180-
-16.4- -- For any other query <code>q</code> and arguments <code>a...</code> a call to <code>env.query(q, a...)</code> returns <code><i>STATE</i>(*this).<del>environmenti</del><ins><i>environment</i></ins>.query(q, a...)</code> if this expression is well-formed and <code>forwarding_query(q)</code> is well-formed and is <code>true</code>. Otherwise <code>env.query(q, a...)</code> is ill-formed.
181+
-16.4- -- For any other query <code>q</code> and arguments <code>a...</code> a call to <code>env.query(q, a...)</code> returns <code><i>STATE</i>(*this).<del>environment</del><ins><i>environment</i></ins>.query(q, a...)</code> if this expression is well-formed and <code>forwarding_query(q)</code> is well-formed and is <code>true</code>. Otherwise <code>env.query(q, a...)</code> is ill-formed.
181182
</p>
182183
</blockquote>
183184
</li>

0 commit comments

Comments
 (0)