Skip to content

Commit 580e514

Browse files
authored
Merge branch 'cplusplus:master' into tk/misc-priorities
2 parents 188650f + 3b07334 commit 580e514

File tree

12 files changed

+142
-18
lines changed

12 files changed

+142
-18
lines changed

bin/set_priority.sh

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,15 @@ then
4747
sed -i -e '/^<issue /s/ status=".*">$/ status="Tentatively Ready">/' $xml
4848
bin/add_note.sh $issue "Reflector poll" - <<< "Set status to Tentatively Ready after $votes votes in favour during reflector poll."
4949

50-
do_commit=$([[ $3 == --commit ]] && echo yes)
50+
do_commit=$([[ $3 == --commit ]] && echo Ready)
51+
52+
elif [[ $priority = NAD ]]
53+
then
54+
55+
sed -i -e '/^<issue /s/ status=".*">$/ status="Tentatively NAD">/' $xml
56+
bin/add_note.sh $issue "Reflector poll. Status &rarr; Tentatively NAD "
57+
58+
do_commit=$([[ $3 == --commit ]] && echo NAD)
5159

5260
else
5361

@@ -64,7 +72,7 @@ then
6472
bin/add_note.sh $issue -
6573
fi
6674

67-
if [[ $priority = 0 ]] && [[ $do_commit == yes ]]
75+
if [[ $do_commit != no ]]
6876
then
69-
git commit -m "Set $issue to Tentatively Ready" $xml
77+
git commit -m "Set $issue to Tentatively $do_commit" $xml
7078
fi

xml/issue4166.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version='1.0' encoding='utf-8' standalone='no'?>
22
<!DOCTYPE issue SYSTEM "lwg-issue.dtd">
33

4-
<issue num="4166" status="New">
4+
<issue num="4166" status="Tentatively Ready">
55
<title>`concat_view::end()` should be more constrained in order to support noncopyable iterators</title>
66
<section><sref ref="[range.concat.view]"/></section>
77
<submitter>Yaito Kakeyama &amp; Nana Sakisaka</submitter>
@@ -96,6 +96,12 @@ if constexpr (<ins>(semiregular&lt;iterator_t&lt;<i>maybe-const</i>&lt;<i>is-con
9696
</superseded>
9797

9898
<note>2025-03-05; Hewill Kang provides improved wording</note>
99+
100+
<note>2025-10-23; Reflector poll.</note>
101+
<p>
102+
Set status to Tentatively Ready after seven votes in favour during reflector poll.
103+
</p>
104+
99105
</discussion>
100106

101107
<resolution>

xml/issue4171.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version='1.0' encoding='utf-8' standalone='no'?>
22
<!DOCTYPE issue SYSTEM "lwg-issue.dtd">
33

4-
<issue num="4171" status="New">
4+
<issue num="4171" status="Tentatively NAD">
55
<title>P2609R3 breaks code that uses `views::zip` and <tt>get&lt;T&gt;</tt></title>
66
<section><sref ref="[indirectcallable.indirectinvocable]"/></section>
77
<submitter>S. B. Tam</submitter>
@@ -39,6 +39,13 @@ an explicit return type to `fun`.
3939
<p/>
4040
Did LWG foresee this impact of <paper num="P2609R3"/>? Could P2609R3 be reverted to unbreak this code pattern?
4141
</p>
42+
43+
<note>2025-10-23; Reflector poll; Status changed: New &rarr; Tentatively NAD.</note>
44+
<p>
45+
The range concepts are over-constrained by design, and `indirect_unary_invocable`
46+
always required invocability with `iter_value_t`. The P2609 changes enforced this
47+
requirement properly for iterators returning proxy references, including `zip_iterator`.
48+
</p>
4249
</discussion>
4350

4451
<resolution>

xml/issue4220.xml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</section>
99
<submitter>Hewill Kang</submitter>
1010
<date>06 Mar 2025</date>
11-
<priority>99</priority>
11+
<priority>3</priority>
1212

1313
<discussion>
1414
<p>
@@ -38,6 +38,15 @@ The proposed resolution preserves the inner range's original qualifiers, which i
3838
<code>cache_latest_view</code> stores the reference when it is a prvalue.
3939
The same goes for <code>join_with_view</code>.
4040
</p>
41+
42+
<note>2025-10-23; Reflector poll.</note>
43+
<p>
44+
Set priority to 3 after reflector poll.
45+
</p>
46+
<p>
47+
Lot of NAD votes. This type satisfies, but does not model
48+
range.
49+
</p>
4150
</discussion>
4251

4352
<resolution>

xml/issue4271.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version='1.0' encoding='utf-8' standalone='no'?>
22
<!DOCTYPE issue SYSTEM "lwg-issue.dtd">
33

4-
<issue num="4271" status="New">
4+
<issue num="4271" status="Tentatively NAD">
55
<title>Caching range views claim amortized amortized &#x1d4aa;(1) runtime
66
complexity for algorithms that are in fact &#x1d4aa;(n)</title>
77
<section>
@@ -42,6 +42,17 @@ views (such as hypothetical non-caching variants of the affected views)
4242
that were previously considered invalid will become valid with these
4343
changes.
4444
</p>
45+
46+
<note>2025-10-23; Reflector poll; Status changed: New &rarr; Tentatively NAD.</note>
47+
<p>
48+
Relaxing complexity of `ranges::begin`/`ranges::end` is design change,
49+
and not direction we want to pursue.
50+
<p>
51+
</p>
52+
The "amortized constant" are not quite right words to describe
53+
intended requirements. A rework preserving the intent of current wording
54+
would be welcomed.
55+
</p>
4556
</discussion>
4657

4758
<resolution>

xml/issue4307.xml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ in <code>&lt;ranges&gt;</code></title>
1515
</section>
1616
<submitter>Hewill Kang</submitter>
1717
<date>28 Jul 2025</date>
18-
<priority>99</priority>
18+
<priority>4</priority>
1919

2020
<discussion>
2121
<p>
@@ -36,6 +36,15 @@ which would also allow newly introduced adapters or other library features to ta
3636
Note that since some of these simplifications change the order in which the concepts are spelled, they may not be
3737
purely editorial.
3838
</p>
39+
40+
<note>2025-10-23; Reflector poll.</note>
41+
<p>
42+
Set priority to 4 after reflector poll.
43+
</p>
44+
<p>
45+
Use of exposition-only concepts is not necessary improving readability
46+
or produced error messages.
47+
</p>
3948
</discussion>
4049

4150
<resolution>

xml/issue4337.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version='1.0' encoding='utf-8' standalone='no'?>
22
<!DOCTYPE issue SYSTEM "lwg-issue.dtd">
33

4-
<issue num="4337" status="New">
4+
<issue num="4337" status="Tentatively NAD">
55
<title><code>co_await change_coroutine_scheduler(s)</code> requires assignable</title>
66
<section><sref ref="[task.promise]"/></section>
77
<submitter>Dietmar Kühl</submitter>
@@ -17,6 +17,11 @@ The problem is that <code>std::exchange(x, v)</code> expects
1717
<code>x</code> to be assignable from <code>v</code> but there is
1818
no requirement for scheduler to be assignable.
1919
</p>
20+
21+
<note>2025-10-23; Reflector poll. Status &rarr; Tentatively NAD .</note>
22+
<p>
23+
"`scheduler` requires `copyable` which requires assignment."
24+
</p>
2025
</discussion>
2126

2227
<resolution>

xml/issue4389.xml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?xml version='1.0' encoding='utf-8' standalone='no'?>
22
<!DOCTYPE issue SYSTEM "lwg-issue.dtd">
33

4-
<issue num="4389" status="New">
4+
<issue num="4389" status="SG9">
55
<title>`ranges::for_each` possibly behaves differently from range-based `for`</title>
66
<section><sref ref="[range.range]"/></section>
77
<submitter>Jiang An</submitter>
88
<date>28 Sep 2025</date>
9-
<priority>99</priority>
9+
<priority>2</priority>
1010

1111
<discussion>
1212
<p>
@@ -29,6 +29,13 @@ implementation to tell whether a class has member `begin/end` but the correspond
2929
call is ill-formed with C++20 core language rules, and such determination is critical for
3030
eliminating the semantic differences between `ranges::for_each` and range-for.
3131
</p>
32+
33+
<note>2025-10-23; Reflector poll; Status changed: New &rarr; SG9 and P2.</note>
34+
<p>
35+
This is certainly evoluationary question and should go to LEWG/SG9.
36+
It would disallow having unrelated begin/end members, where the range
37+
interface is provided by hidden friends instead of those members.
38+
</p>
3239
</discussion>
3340

3441
<resolution>

xml/issue4401.xml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version='1.0' encoding='utf-8' standalone='no'?>
22
<!DOCTYPE issue SYSTEM "lwg-issue.dtd">
33

4-
<issue num="4401" status="New">
4+
<issue num="4401" status="LEWG">
55
<title>`join_view` should be `sized_range` when applied to ranges of `simd::vec`</title>
66
<section>
77
<sref ref="[range.join.view]"/>
@@ -10,7 +10,7 @@
1010
</section>
1111
<submitter>Hewill Kang</submitter>
1212
<date>02 Oct 2025</date>
13-
<priority>99</priority>
13+
<priority>3</priority>
1414

1515
<discussion>
1616
<p>
@@ -33,6 +33,15 @@ In <code>&lt;ranges&gt;</code>, we use the <code><i>tiny-range</i></code> concep
3333
to consider types that can obtain static sizes specifically, and `simd::vec`
3434
seems to be a good fit.
3535
</p>
36+
37+
<note>2025-10-23; Reflector poll; Status changed: New &rarr; LEWG and P3.</note>
38+
<p>
39+
Introducting statically sized ranges and handling them in views, should be
40+
handle as a paper.
41+
</p>
42+
<p>
43+
The proposed change is also relevant to fixed-size <tt>span</tt>.
44+
</p>
3645
</discussion>
3746

3847
<resolution>

xml/issue4405.xml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</section>
99
<submitter>Hewill Kang</submitter>
1010
<date>05 Oct 2025</date>
11-
<priority>99</priority>
11+
<priority>3</priority>
1212

1313
<discussion>
1414
<p>
@@ -32,6 +32,16 @@ Given that we intend to reject object slicing for both `default_accessor` and
3232
`aligned_accessor`, there seems no reason not to reject this invalid pointer
3333
arithmetic for `mdspan`.
3434
</p>
35+
36+
<note>2025-10-23; Reflector poll.</note>
37+
<p>
38+
Set priority to 3 after reflector poll.
39+
</p>
40+
<p>
41+
Even if `data_handle_type` is a pointer to `value_type`, this does not mean
42+
that it points to contiguous range of `value_type` objects. Accessor may
43+
provide different access parttern.
44+
</p>
3545
</discussion>
3646

3747
<resolution>

0 commit comments

Comments
 (0)