Skip to content

Commit 3903305

Browse files
authored
Apply suggestions from code review
1 parent f65623d commit 3903305

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

xml/issue4343.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@
1313
The design discussion of <code>task</code> describes defaults for
1414
the two template parameters <code>T</code> and <code>Environment</code>
1515
of <code>task</code> but these defaults are not reflected in the
16-
synopsis of <a href="https://wg21.link/task.class">[task.class]</a>.
16+
synopsis of <sref ref="[task.class]"/>.
1717
This is an oversight and should be fixed. The default for
1818
<code>T</code> should be <code>void</code> and the default for
1919
<code>Environment</code> should be <code>env&lt;&gt;</code> (the
2020
design paper used <code>empty_env</code> but this <code>struct</code>
21-
was replaced by the class template <code>env</code> by <a
22-
href="https://wg21.link/p3325">P3325r5</a>).
21+
was replaced by the class template <code>env</code> by <paper ref="p3325r5"/>).
2322
</p>
2423
<p>
2524
There could be a counter argument to defining a default for the
@@ -40,8 +39,7 @@ on 2025-08-26 the direction is to add the default arguments.
4039
<p>
4140
Add default template arguments for <code>task</code> for
4241
<code>T = void</code> and <code>Environment = env&lt;&gt;</code>
43-
in the synopsis of <a
44-
href="https://wg21.link/task.class">[task.class]</a>:
42+
in the synopsis of <sref ref="[task.class]"/>:
4543
<blockquote><pre>
4644
namespace std::execution {
4745
template&lt;class T <ins>= void</ins>, class Environment <ins>= env&lt;&gt;</ins>&gt;

0 commit comments

Comments
 (0)