Skip to content

Commit bf985fc

Browse files
author
github-actions
committed
Automatic update from GitHub Actions workflow
1 parent adb8143 commit bf985fc

22 files changed

+334
-41
lines changed

issue4260.html

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Issue 4260: Query objects must be default constructible</title>
6+
<meta property="og:title" content="Issue 4260: Query objects must be default constructible">
7+
<meta property="og:description" content="C++ library issue. Status: New">
8+
<meta property="og:url" content="https://cplusplus.github.io/LWG/issue4260.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="4260"><a href="lwg-active.html#4260">4260</a>. Query objects must be default constructible</h3>
66+
<p><b>Section:</b> 33.2.1 <a href="https://wg21.link/exec.queryable.general">[exec.queryable.general]</a> <b>Status:</b> <a href="lwg-active.html#New">New</a>
67+
<b>Submitter:</b> Eric Niebler <b>Opened:</b> 2025-05-07 <b>Last modified:</b> 2025-05-18</p>
68+
<p><b>Priority: </b>Not Prioritized
69+
</p>
70+
<p><b>View all issues with</b> <a href="lwg-status.html#New">New</a> status.</p>
71+
<p><b>Discussion:</b></p>
72+
<p>
73+
Imported from <a href="https://github.com/cplusplus/sender-receiver/issues/333">cplusplus/sender-receiver #333</a>.
74+
<p/>
75+
We require the types of query objects such as <code class='backtick'>get_scheduler</code> to be customization point objects.
76+
16.3.3.3.5 <a href="https://wg21.link/customization.point.object">[customization.point.object]</a> requires them to be <code class='backtick'>semiregular</code> but that concept
77+
does not require default constructability. Much of <code class='backtick'>std::execution</code> assumes query object types
78+
to be default constructible.
79+
<p/>
80+
I propose adding a (nothrow) default-constructibility requirement.
81+
</p>
82+
83+
84+
<p id="res-4260"><b>Proposed resolution:</b></p>
85+
<p>
86+
This wording is relative to <a href="https://wg21.link/N5008">N5008</a>.
87+
</p>
88+
<ol>
89+
90+
<li><p>Modify 33.2.1 <a href="https://wg21.link/exec.queryable.general">[exec.queryable.general]</a> as indicated:</p>
91+
92+
<blockquote>
93+
<p>
94+
-1- A <i>queryable object</i> is a read-only collection of key/value pair where each key is a
95+
customization point object known as a <i>query object</i>.
96+
<ins>The type of a query object satisfies <code class='backtick'>default_initializable</code>, and its default constructor
97+
is not potentially throwing.</ins>
98+
A <i>query</i> is an invocation of a query object with a queryable object as its first
99+
argument and a (possibly empty) set of additional arguments.
100+
A query imposes syntactic and semantic requirements on its invocations.
101+
</p>
102+
</blockquote>
103+
</li>
104+
</ol>
105+
106+
107+
108+
109+
110+
</body>
111+
</html>

lwg-active.html

Lines changed: 51 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-05-18 at 09:36:53 UTC
65+
<td align="left">Revised 2025-05-18 at 09:48:56 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-05-18 at 09:36:53 UTC
69+
<p>Revised 2025-05-18 at 09:48:56 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">
@@ -5794,7 +5794,7 @@ <h2 id="Section_32">Section 32 (42 issues)</h2>
57945794
<td></td>
57955795
</tr>
57965796
</table>
5797-
<h2 id="Section_33">Section 33 (10 issues)</h2>
5797+
<h2 id="Section_33">Section 33 (11 issues)</h2>
57985798
<p><a href="lwg-index.html#Section_33">(view all issues)</a></p>
57995799
<table class="issues-index">
58005800
<tr>
@@ -5807,6 +5807,15 @@ <h2 id="Section_33">Section 33 (10 issues)</h2>
58075807
<th>Duplicates</th>
58085808
</tr>
58095809
<tr>
5810+
<td id="4260"><a href="lwg-active.html#4260" title="Query objects must be default constructible (Status: New)">4260</a><sup><a href="https://cplusplus.github.io/LWG/issue4260">(i)</a></sup></td>
5811+
<td><a href="lwg-active.html#New">New</a></td>
5812+
<td>33.2.1 [exec.queryable.general]<a id="exec.queryable.general"></a></td>
5813+
<td>Query objects must be default constructible</td>
5814+
<td>Yes</td>
5815+
<td></td>
5816+
<td></td>
5817+
</tr>
5818+
<tr>
58105819
<td id="4143"><a href="lwg-active.html#4143" title="execution::set_value/set_error/set_stopped/start should always return void (Status: New)">4143</a><sup><a href="https://cplusplus.github.io/LWG/issue4143">(i)</a></sup></td>
58115820
<td><a href="lwg-active.html#New">New</a></td>
58125821
<td>33.7.2 [exec.set.value]<a id="exec.set.value"></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-05-18 at 09:36:53 UTC
69+
<p>Revised 2025-05-18 at 09:48:56 UTC
7070
</p><h2 id="Section_2">Section 2 (2 issues)</h2>
7171
<table class="issues-index">
7272
<tr>
@@ -31733,7 +31733,7 @@ <h2 id="Section_32">Section 32 (280 issues)</h2>
3173331733
<td></td>
3173431734
</tr>
3173531735
</table>
31736-
<h2 id="Section_33">Section 33 (19 issues)</h2>
31736+
<h2 id="Section_33">Section 33 (20 issues)</h2>
3173731737
<p><a href="lwg-index-open.html#Section_33">(view only non-Ready open issues)</a></p>
3173831738
<table class="issues-index">
3173931739
<tr>
@@ -31746,6 +31746,15 @@ <h2 id="Section_33">Section 33 (19 issues)</h2>
3174631746
<th>Duplicates</th>
3174731747
</tr>
3174831748
<tr>
31749+
<td id="4260"><a href="lwg-active.html#4260" title="Query objects must be default constructible (Status: New)">4260</a><sup><a href="https://cplusplus.github.io/LWG/issue4260">(i)</a></sup></td>
31750+
<td><a href="lwg-active.html#New">New</a></td>
31751+
<td>33.2.1 [exec.queryable.general]<a id="exec.queryable.general"></a></td>
31752+
<td>Query objects must be default constructible</td>
31753+
<td>Yes</td>
31754+
<td></td>
31755+
<td></td>
31756+
</tr>
31757+
<tr>
3174931758
<td id="4175"><a href="lwg-defects.html#4175" title="get_env() specified in terms of as_const() but this doesn't work with rvalue senders (Status: WP)">4175</a><sup><a href="https://cplusplus.github.io/LWG/issue4175">(i)</a></sup></td>
3175031759
<td><a href="lwg-active.html#WP">WP</a></td>
3175131760
<td>33.5.2 [exec.get.allocator]<a id="exec.get.allocator"></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-05-18 at 09:36:53 UTC
65+
<td align="left">Revised 2025-05-18 at 09:48:56 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-05-18 at 09:36:53 UTC
70+
<p>Revised 2025-05-18 at 09:48:56 UTC
7171
</p><h2 id="Ready">Ready (7 issues)</h2>
7272
<table class="issues-index">
7373
<tr>
@@ -302,7 +302,7 @@ <h2 id="Tentatively_NAD">Tentatively NAD (12 issues)</h2>
302302
<td></td>
303303
</tr>
304304
</table>
305-
<h2 id="New">New (497 issues)</h2>
305+
<h2 id="New">New (498 issues)</h2>
306306
<table class="issues-index">
307307
<tr>
308308
<th><a href="lwg-toc.html">Issue</a></th>
@@ -350,6 +350,15 @@ <h2 id="New">New (497 issues)</h2>
350350
<td></td>
351351
</tr>
352352
<tr>
353+
<td id="4260"><a href="lwg-active.html#4260" title="Query objects must be default constructible (Status: New)">4260</a><sup><a href="https://cplusplus.github.io/LWG/issue4260">(i)</a></sup></td>
354+
<td><a href="lwg-active.html#New">New</a></td>
355+
<td>33.2.1 [exec.queryable.general]</td>
356+
<td>Query objects must be default constructible</td>
357+
<td>Yes</td>
358+
<td></td>
359+
<td></td>
360+
</tr>
361+
<tr>
353362
<td id="4257"><a href="lwg-active.html#4257" title="Stream insertion for chrono::local_time should be constrained (Status: New)">4257</a><sup><a href="https://cplusplus.github.io/LWG/issue4257">(i)</a></sup></td>
354363
<td><a href="lwg-active.html#New">New</a></td>
355364
<td>30.7.9 [time.clock.local]</td>

lwg-status.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ <h1>Index by Status and Section</h1>
6262
<a href="lwg-defects.html">Library Defect Reports and Accepted Issues</a>, and <a href="lwg-closed.html">Library Closed Issues List</a>.
6363
</p>
6464

65-
<p>Revised 2025-05-18 at 09:36:53 UTC
65+
<p>Revised 2025-05-18 at 09:48:56 UTC
6666
</p><h2 id="Ready">Ready (7 issues)</h2>
6767
<table class="issues-index">
6868
<tr>
@@ -297,7 +297,7 @@ <h2 id="Tentatively_NAD">Tentatively NAD (12 issues)</h2>
297297
<td></td>
298298
</tr>
299299
</table>
300-
<h2 id="New">New (497 issues)</h2>
300+
<h2 id="New">New (498 issues)</h2>
301301
<table class="issues-index">
302302
<tr>
303303
<th><a href="lwg-toc.html">Issue</a></th>
@@ -4629,6 +4629,15 @@ <h2 id="New">New (497 issues)</h2>
46294629
<td></td>
46304630
</tr>
46314631
<tr>
4632+
<td id="4260"><a href="lwg-active.html#4260" title="Query objects must be default constructible (Status: New)">4260</a><sup><a href="https://cplusplus.github.io/LWG/issue4260">(i)</a></sup></td>
4633+
<td><a href="lwg-active.html#New">New</a></td>
4634+
<td>33.2.1 [exec.queryable.general]</td>
4635+
<td>Query objects must be default constructible</td>
4636+
<td>Yes</td>
4637+
<td></td>
4638+
<td></td>
4639+
</tr>
4640+
<tr>
46324641
<td id="4143"><a href="lwg-active.html#4143" title="execution::set_value/set_error/set_stopped/start should always return void (Status: New)">4143</a><sup><a href="https://cplusplus.github.io/LWG/issue4143">(i)</a></sup></td>
46334642
<td><a href="lwg-active.html#New">New</a></td>
46344643
<td>33.7.2 [exec.set.value]</td>

0 commit comments

Comments
 (0)