Skip to content

Commit f6406c4

Browse files
authored
Merge pull request #516 from tomaszkam/tk/task-issues
New issue for US US 206-325: Remove unnecessary sizeof…(Env) > 1 condition
2 parents 2a383ea + 235aae9 commit f6406c4

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

xml/issue4447.xml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version='1.0' encoding='utf-8' standalone='no'?>
2+
<!DOCTYPE issue SYSTEM "lwg-issue.dtd">
3+
4+
<issue num="4447" status="New">
5+
<title>Remove unnecessary `sizeof…(Env) &gt; 1` condition</title>
6+
<section>
7+
<sref ref="[execution.syn]"/>
8+
</section>
9+
<submitter>Tomasz Kamiński</submitter>
10+
<date>05 Nov 2025</date>
11+
<priority>99</priority>
12+
13+
<discussion>
14+
<b>Addresses <a href="https://github.com/cplusplus/nbballot/issues/900">US 206-325</a></b>
15+
<p>The “`sizeof…(Env) &gt; 1` is `true`” part seems unreachable because `CS` is ill-formed in that case.</p>
16+
</discussion>
17+
18+
<resolution>
19+
<p>
20+
This wording is relative to <paper num="N5014"/>.
21+
</p>
22+
23+
<ol>
24+
25+
<li><p>Modify <sref ref="[execution.syn]"/> as indicated:</p>
26+
27+
<blockquote>
28+
<p>
29+
-2- For type `Sndr` and pack of types `Env`, let `CS` be `completion_signatures_of_t&lt;Sndr, Env...&gt;`.
30+
Then `single-sender-value-type&lt;Sndr, Env...&gt;` is ill-formed if `CS` is ill-formed
31+
<del>or if `sizeof...(Env) &gt; 1` is `true`</del>; otherwise, it is an alias for:
32+
[&hellip;]
33+
</p>
34+
</blockquote>
35+
</li>
36+
</ol>
37+
38+
</resolution>
39+
40+
</issue>

0 commit comments

Comments
 (0)