Skip to content

Commit 72a45d4

Browse files
committed
New issue from Tim Song: "datapar::resize does not resize"
1 parent 50ed51c commit 72a45d4

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

xml/issue4232.xml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?xml version='1.0' encoding='utf-8' standalone='no'?>
2+
<!DOCTYPE issue SYSTEM "lwg-issue.dtd">
3+
4+
<issue num="4232" status="New">
5+
<title>`datapar::resize` does not resize</title>
6+
<section>
7+
<sref ref="[simd.traits]"/>
8+
</section>
9+
<submitter>Tim Song</submitter>
10+
<date>24 Mar 2025</date>
11+
<priority>99</priority>
12+
13+
<discussion>
14+
<p>
15+
The wording actually requires the size to be left unchanged.
16+
</p>
17+
</discussion>
18+
19+
<resolution>
20+
<p>
21+
This wording is relative to <paper num="N5008"/>.
22+
</p>
23+
24+
<ol>
25+
26+
<li><p>Modify <sref ref="[simd.traits]"/> as indicated:</p>
27+
28+
<blockquote>
29+
<pre>
30+
template&lt;<i>simd-size-type</i> N, class V&gt; struct resize { using type = <i>see below</i>; };
31+
</pre>
32+
<blockquote>
33+
<p>
34+
[&hellip;]
35+
<p/>
36+
-9- If `V` is a specialization of `basic_simd`, let `Abi1` denote an ABI tag such that
37+
<tt>basic_simd&lt;T, Abi1&gt;::size()</tt> equals <tt><del>V::size()</del><ins>N</ins></tt>.
38+
If `V` is a specialization of `basic_simd_mask`, let `Abi1` denote an ABI tag such that
39+
<tt>basic_simd_mask&lt;sizeof(T), Abi1&gt;::size()</tt> equals <tt><del>V::size()</del><ins>N</ins></tt>.
40+
</p>
41+
</blockquote>
42+
</blockquote>
43+
</li>
44+
45+
</ol>
46+
</resolution>
47+
48+
</issue>

0 commit comments

Comments
 (0)