Skip to content

Commit 3897bea

Browse files
committed
New issue from Hewill: "Including <simd> doesn't provide std::begin/end"
1 parent 8de3afe commit 3897bea

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

xml/issue4385.xml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<?xml version='1.0' encoding='utf-8' standalone='no'?>
2+
<!DOCTYPE issue SYSTEM "lwg-issue.dtd">
3+
4+
<issue num="4385" status="New">
5+
<title>Including <tt>&lt;simd&gt;</tt> doesn't provide `std::begin/end`
6+
</title>
7+
<section>
8+
<sref ref="[iterator.range]"/>
9+
</section>
10+
<submitter>Hewill Kang</submitter>
11+
<date>26 Sep 2025</date>
12+
<priority>99</priority>
13+
14+
<discussion>
15+
<p>
16+
`std::simd::basic_vec` and `std::simd::basic_mask` are ranges since <paper num="P3480R6"/>,
17+
it is reasonable to enable range access utilities when introducing <code>&lt;simd&gt;</code>.
18+
</p>
19+
</discussion>
20+
21+
<resolution>
22+
<p>
23+
This wording is relative to <paper num="N5014"/>.
24+
</p>
25+
26+
<ol>
27+
28+
<li><p>Modify <sref ref="[iterator.range]"/> as indicated:</p>
29+
30+
<blockquote>
31+
<p>
32+
-1- In addition to being available via inclusion of the <tt>&lt;iterator&gt;</tt> header, the function
33+
templates in <sref ref="[iterator.range]"/> are available when any of the following headers are included:
34+
<tt>&lt;array&gt;</tt>,
35+
<tt>&lt;deque&gt;</tt>, <tt>&lt;flat_map&gt;</tt>, <tt>&lt;flat_set&gt;</tt>,
36+
<tt>&lt;forward_list&gt;</tt>,
37+
<tt>&lt;hive&gt;</tt>,
38+
<tt>&lt;inplace_vector&gt;</tt>, <tt>&lt;list&gt;</tt>, <tt>&lt;map&gt;</tt>,
39+
<tt>&lt;regex&gt;</tt>, <tt>&lt;set&gt;</tt>, <ins><tt>&lt;simd&gt;</tt></ins>,
40+
<tt>&lt;span&gt;</tt>, <tt>&lt;string&gt;</tt>, <tt>&lt;string_view&gt;</tt>,
41+
<tt>&lt;unordered_map&gt;</tt>, <tt>&lt;unordered_set&gt;</tt>, and <tt>&lt;vector&gt;</tt>.
42+
43+
</p>
44+
</blockquote>
45+
46+
</li>
47+
48+
</ol>
49+
</resolution>
50+
51+
</issue>

0 commit comments

Comments
 (0)