Skip to content

Commit 49b99c1

Browse files
author
github-actions
committed
Automatic update from GitHub Actions workflow
1 parent ca9b032 commit 49b99c1

23 files changed

+358
-41
lines changed

issue4338.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ <h3 id="4338"><a href="lwg-active.html#4338">4338</a>. sender unaware coroutines
6767
<b>Submitter:</b> Dietmar Kühl <b>Opened:</b> 2025-08-31 <b>Last modified:</b> 2025-09-01</p>
6868
<p><b>Priority: </b>Not Prioritized
6969
</p>
70+
<p><b>View other</b> <a href="lwg-index-open.html#task.class">active issues</a> in [task.class].</p>
71+
<p><b>View all other</b> <a href="lwg-index.html#task.class">issues</a> in [task.class].</p>
7072
<p><b>View all issues with</b> <a href="lwg-status.html#New">New</a> status.</p>
7173
<p><b>Discussion:</b></p>
7274
<p>

issue4341.html

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Issue 4341: Missing rvalue reference qualification for task::connect()</title>
6+
<meta property="og:title" content="Issue 4341: Missing rvalue reference qualification for task::connect()">
7+
<meta property="og:description" content="C++ library issue. Status: New">
8+
<meta property="og:url" content="https://cplusplus.github.io/LWG/issue4341.html">
9+
<meta property="og:type" content="website">
10+
<meta property="og:image" content="http://cplusplus.github.io/LWG/images/cpp_logo.png">
11+
<meta property="og:image:alt" content="C++ logo">
12+
<style>
13+
p {text-align:justify}
14+
li {text-align:justify}
15+
pre code.backtick::before { content: "`" }
16+
pre code.backtick::after { content: "`" }
17+
blockquote.note
18+
{
19+
background-color:#E0E0E0;
20+
padding-left: 15px;
21+
padding-right: 15px;
22+
padding-top: 1px;
23+
padding-bottom: 1px;
24+
}
25+
ins {background-color:#A0FFA0}
26+
del {background-color:#FFA0A0}
27+
table.issues-index { border: 1px solid; border-collapse: collapse; }
28+
table.issues-index th { text-align: center; padding: 4px; border: 1px solid; }
29+
table.issues-index td { padding: 4px; border: 1px solid; }
30+
table.issues-index td:nth-child(1) { text-align: right; }
31+
table.issues-index td:nth-child(2) { text-align: left; }
32+
table.issues-index td:nth-child(3) { text-align: left; }
33+
table.issues-index td:nth-child(4) { text-align: left; }
34+
table.issues-index td:nth-child(5) { text-align: center; }
35+
table.issues-index td:nth-child(6) { text-align: center; }
36+
table.issues-index td:nth-child(7) { text-align: left; }
37+
table.issues-index td:nth-child(5) span.no-pr { color: red; }
38+
@media (prefers-color-scheme: dark) {
39+
html {
40+
color: #ddd;
41+
background-color: black;
42+
}
43+
ins {
44+
background-color: #225522
45+
}
46+
del {
47+
background-color: #662222
48+
}
49+
a {
50+
color: #6af
51+
}
52+
a:visited {
53+
color: #6af
54+
}
55+
blockquote.note
56+
{
57+
background-color: rgba(255, 255, 255, .10)
58+
}
59+
}
60+
</style>
61+
</head>
62+
<body>
63+
<hr>
64+
<p><em>This page is a snapshot from the LWG issues list, see the <a href="lwg-active.html">Library Active Issues List</a> for more information and the meaning of <a href="lwg-active.html#New">New</a> status.</em></p>
65+
<h3 id="4341"><a href="lwg-active.html#4341">4341</a>. Missing rvalue reference qualification for <code>task::connect()</code></h3>
66+
<p><b>Section:</b> 33.13.6.2 <a href="https://wg21.link/task.class">[task.class]</a> <b>Status:</b> <a href="lwg-active.html#New">New</a>
67+
<b>Submitter:</b> Dietmar Kühl <b>Opened:</b> 2025-08-31 <b>Last modified:</b> 2025-09-01</p>
68+
<p><b>Priority: </b>Not Prioritized
69+
</p>
70+
<p><b>View other</b> <a href="lwg-index-open.html#task.class">active issues</a> in [task.class].</p>
71+
<p><b>View all other</b> <a href="lwg-index.html#task.class">issues</a> in [task.class].</p>
72+
<p><b>View all issues with</b> <a href="lwg-status.html#New">New</a> status.</p>
73+
<p><b>Discussion:</b></p>
74+
<p>
75+
Coroutines can't be copied. Thus, a <code>task</code> can be
76+
<code>connect()</code> just once. To represent that
77+
<code>task::connect()</code> should be rvalue reference qualified
78+
but currently it isn't.
79+
</p>
80+
81+
82+
<p id="res-4341"><b>Proposed resolution:</b></p>
83+
<p>
84+
In the synopsis in 33.13.6.2 <a href="https://wg21.link/task.class">[task.class]</a> add rvalue
85+
reference qualification to <code>task::connect()</code>:
86+
<blockquote><pre>
87+
namespace std::execution {
88+
template&lt;class T, class Environment&gt;
89+
class task {
90+
...
91+
template&lt;receiver Rcvr&gt;
92+
<i>state</i>&lt;Rcvr&gt; connect(Rcvr&amp;&amp; rcvr) <ins>&amp;&amp;</ins>;
93+
...
94+
}
95+
}
96+
</pre></blockquote>
97+
</p>
98+
<p>
99+
In the specification in 33.13.6.3 <a href="https://wg21.link/task.members">[task.members]</a> paragraph 3 add rvalue
100+
reference qualification to <code>task::connect()</code>:
101+
<blockquote>
102+
<pre>
103+
template&lt;receiver Rcvr&gt;
104+
<i>state</i>&lt;Rcvr&gt; connect(Rcvr&amp;&amp; rcvr) <ins>&amp;&amp;</ins>;
105+
</pre>
106+
<p>-3- <i>Precondition</i>: <code>bool(handle)</code> is <code>true</code>.</p>
107+
<p>-4- <i>Effects</i>: Equivalent to:</p>
108+
<pre> return state&lt;Rcvr&gt;(exchange(handle, {}), std::forward&lt;Rcvr&gt;(recv));</pre>
109+
</blockquote>
110+
</p>
111+
112+
113+
114+
115+
116+
</body>
117+
</html>

lwg-active.html

Lines changed: 59 additions & 5 deletions
Large diffs are not rendered by default.

lwg-closed.html

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

lwg-defects.html

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

lwg-immediate.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ <h1>C++ Standard Library Issues Resolved Directly In [INSERT CURRENT MEETING HER
6262
</tr>
6363
<tr>
6464
<td align="left">Date:</td>
65-
<td align="left">Revised 2025-09-01 at 17:03:34 UTC
65+
<td align="left">Revised 2025-09-01 at 17:08:39 UTC
6666
</td>
6767
</tr>
6868
<tr>

lwg-index-open.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ <h1>Index by Section</h1>
6666
<p>This document is the Index by Section for the <a href="lwg-active.html">Library Active Issues List</a>.</p>
6767
<h2>Index by Section (non-Ready active issues only)</h2>
6868
<p><a href="lwg-index.html">(view all issues)</a></p>
69-
<p>Revised 2025-09-01 at 17:03:34 UTC
69+
<p>Revised 2025-09-01 at 17:08:39 UTC
7070
</p><h2 id="Section_3">Section 3 (2 issues)</h2>
7171
<p><a href="lwg-index.html#Section_3">(view all issues)</a></p>
7272
<table class="issues-index">
@@ -6203,7 +6203,7 @@ <h2 id="Section_32">Section 32 (44 issues)</h2>
62036203
<td></td>
62046204
</tr>
62056205
</table>
6206-
<h2 id="Section_33">Section 33 (24 issues)</h2>
6206+
<h2 id="Section_33">Section 33 (25 issues)</h2>
62076207
<p><a href="lwg-index.html#Section_33">(view all issues)</a></p>
62086208
<table class="issues-index">
62096209
<tr>
@@ -6387,6 +6387,15 @@ <h2 id="Section_33">Section 33 (24 issues)</h2>
63876387
<td></td>
63886388
</tr>
63896389
<tr>
6390+
<td id="4341"><a href="lwg-active.html#4341" title="Missing rvalue reference qualification for task::connect() (Status: New)">4341</a><sup><a href="https://cplusplus.github.io/LWG/issue4341">(i)</a></sup></td>
6391+
<td><a href="lwg-active.html#New">New</a></td>
6392+
<td>33.13.6.2 [task.class]</td>
6393+
<td>Missing rvalue reference qualification for <code>task::connect()</code></td>
6394+
<td>Yes</td>
6395+
<td></td>
6396+
<td></td>
6397+
</tr>
6398+
<tr>
63906399
<td id="4333"><a href="lwg-active.html#4333" title="task uses unusual allocator customisation (Status: New)">4333</a><sup><a href="https://cplusplus.github.io/LWG/issue4333">(i)</a></sup></td>
63916400
<td><a href="lwg-active.html#New">New</a></td>
63926401
<td>33.13.6.5 [task.promise]<a id="task.promise"></a></td>

lwg-index.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ <h1>Index by Section</h1>
6666
<p>This document is the Index by Section for the <a href="lwg-active.html">Library Active Issues List</a>, <a href="lwg-defects.html">Library Defect Reports and Accepted Issues</a>, and <a href="lwg-closed.html">Library Closed Issues List</a>.</p>
6767
<h2>Index by Section</h2>
6868
<p><a href="lwg-index-open.html">(view only non-Ready open issues)</a></p>
69-
<p>Revised 2025-09-01 at 17:03:34 UTC
69+
<p>Revised 2025-09-01 at 17:08:39 UTC
7070
</p><h2 id="Section_2">Section 2 (2 issues)</h2>
7171
<table class="issues-index">
7272
<tr>
@@ -32297,7 +32297,7 @@ <h2 id="Section_32">Section 32 (284 issues)</h2>
3229732297
<td></td>
3229832298
</tr>
3229932299
</table>
32300-
<h2 id="Section_33">Section 33 (36 issues)</h2>
32300+
<h2 id="Section_33">Section 33 (37 issues)</h2>
3230132301
<p><a href="lwg-index-open.html#Section_33">(view only non-Ready open issues)</a></p>
3230232302
<table class="issues-index">
3230332303
<tr>
@@ -32589,6 +32589,15 @@ <h2 id="Section_33">Section 33 (36 issues)</h2>
3258932589
<td></td>
3259032590
</tr>
3259132591
<tr>
32592+
<td id="4341"><a href="lwg-active.html#4341" title="Missing rvalue reference qualification for task::connect() (Status: New)">4341</a><sup><a href="https://cplusplus.github.io/LWG/issue4341">(i)</a></sup></td>
32593+
<td><a href="lwg-active.html#New">New</a></td>
32594+
<td>33.13.6.2 [task.class]</td>
32595+
<td>Missing rvalue reference qualification for <code>task::connect()</code></td>
32596+
<td>Yes</td>
32597+
<td></td>
32598+
<td></td>
32599+
</tr>
32600+
<tr>
3259232601
<td id="4333"><a href="lwg-active.html#4333" title="task uses unusual allocator customisation (Status: New)">4333</a><sup><a href="https://cplusplus.github.io/LWG/issue4333">(i)</a></sup></td>
3259332602
<td><a href="lwg-active.html#New">New</a></td>
3259432603
<td>33.13.6.5 [task.promise]<a id="task.promise"></a></td>

lwg-ready.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ <h1>C++ Standard Library Issues to be moved in [INSERT CURRENT MEETING HERE]</h1
6262
</tr>
6363
<tr>
6464
<td align="left">Date:</td>
65-
<td align="left">Revised 2025-09-01 at 17:03:34 UTC
65+
<td align="left">Revised 2025-09-01 at 17:08:39 UTC
6666
</td>
6767
</tr>
6868
<tr>

lwg-status-date.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ <h1>Index by Status and Date</h1>
6767
This document is the Index by Status and Date for the <a href="lwg-active.html">Library Active Issues List</a>,
6868
<a href="lwg-defects.html">Library Defect Reports and Accepted Issues</a>, and <a href="lwg-closed.html">Library Closed Issues List</a>.
6969
</p>
70-
<p>Revised 2025-09-01 at 17:03:34 UTC
70+
<p>Revised 2025-09-01 at 17:08:39 UTC
7171
</p><h2 id="Ready">Ready (1 issues)</h2>
7272
<table class="issues-index">
7373
<tr>
@@ -356,7 +356,7 @@ <h2 id="Tentatively_NAD">Tentatively NAD (14 issues)</h2>
356356
<td></td>
357357
</tr>
358358
</table>
359-
<h2 id="New">New (547 issues)</h2>
359+
<h2 id="New">New (548 issues)</h2>
360360
<table class="issues-index">
361361
<tr>
362362
<th><a href="lwg-toc.html">Issue</a></th>
@@ -422,6 +422,15 @@ <h2 id="New">New (547 issues)</h2>
422422
<td></td>
423423
</tr>
424424
<tr>
425+
<td id="4341"><a href="lwg-active.html#4341" title="Missing rvalue reference qualification for task::connect() (Status: New)">4341</a><sup><a href="https://cplusplus.github.io/LWG/issue4341">(i)</a></sup></td>
426+
<td><a href="lwg-active.html#New">New</a></td>
427+
<td>33.13.6.2 [task.class]</td>
428+
<td>Missing rvalue reference qualification for <code>task::connect()</code></td>
429+
<td>Yes</td>
430+
<td></td>
431+
<td></td>
432+
</tr>
433+
<tr>
425434
<td id="4333"><a href="lwg-active.html#4333" title="task uses unusual allocator customisation (Status: New)">4333</a><sup><a href="https://cplusplus.github.io/LWG/issue4333">(i)</a></sup></td>
426435
<td><a href="lwg-active.html#New">New</a></td>
427436
<td>33.13.6.5 [task.promise]</td>

0 commit comments

Comments
 (0)