Skip to content

Commit b49df63

Browse files
authored
Apply suggestions from code review
1 parent f6ecebe commit b49df63

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xml/issue4349.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<discussion>
1212
<p>
1313
The wording for <code>task&lt;...&gt;::promise_type::initial_suspend</code>
14-
in <a href="https://wg21.link/task.promise#6">[task.promise] paragraph 6</a>
14+
in <paper num="[task.promise]"/> paragraph 6
1515
(second bullet) may imply that a task is eagerly started, i.e., that the
1616
awaiter return from <code>initial_suspend()</code> immediately starts
1717
the scheduling operation and cause the <code>task</code> to be resumed. At
@@ -32,7 +32,7 @@ unnecessary scheduling operations for the likely common case when
3232
<resolution>
3333
<p>
3434
Change the declaration of <code>initial_suspend()</code> in the synopsis
35-
of <a href="https://wg21.link/task.promise#6">[task.promise]</a> to use
35+
of <sref ref="[task.promise]"/> to use
3636
<code>suspend_always</code>, directly provide a definition, and add
3737
various qualifiers:
3838
<blockquote>
@@ -50,7 +50,7 @@ namespace std::execution {
5050
</blockquote>
5151
</p>
5252
<p>
53-
Remove <a href="https://wg21.link/task.promise#6">[task.promise] paragraph 6</a> entirely:
53+
Remove <sref ref="[task.promise]"/> paragraph 6 entirely:
5454
<blockquote>
5555
<pre><del>auto initial_suspend() noexcept;</del></pre>
5656
<p><del>-6- <i>Returns:</i> An awaitable object of unspecified type ([expr.await]) whose member functions arrange for</del></p>

0 commit comments

Comments
 (0)