Skip to content

Commit a413b3d

Browse files
committed
Submitter provides further discussion and wording improvements
1 parent d68f069 commit a413b3d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

xml/issue4420.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ to `float` should do, so it needs to be added (again without breaking <tt>float
5858
<p/>
5959
<sref ref="[simd.permute.memory]"/> is analogous to <sref ref="[simd.loadstore]"/> and needs
6060
equivalent constraints.
61+
<p/>
62+
<sref ref="[simd.ctor]"/> p2 requires <tt>constructible_from&lt;U&gt;</tt>, which makes explicit
63+
construction of <tt>vec&lt;float16_t&gt;</tt> from `float` ill-formed. For consistency this
64+
should also be constrained with <tt><i>explicitly-convertible-to</i></tt>.
6165
</p>
6266

6367
<note>2025-10-22; Reflector poll.</note>
@@ -253,6 +257,18 @@ template&lt;class T, class Abi, contiguous_iterator I, sized_sentinel_for&lt;I&g
253257

254258
<blockquote>
255259
<pre>
260+
template&lt;class U&gt; constexpr explicit(<i>see below</i>) basic_vec(U&amp;&amp; value) noexcept;
261+
</pre>
262+
<blockquote>
263+
<p>
264+
-1- Let `From` denote the type <tt>remove_cvref_t&lt;U&gt;</tt>.
265+
<p/>
266+
-2- <i>Constraints</i>: <tt><del>value_type</del><ins>U</ins></tt> satisfies
267+
<tt><del>constructible_from&lt;U&gt;</del><ins><i>explicitly-convertible-to</i>&lt;value_type&gt;</ins></tt>.
268+
</p>
269+
[&hellip;]
270+
</blockquote>
271+
<pre>
256272
template&lt;class U, class UAbi&gt;
257273
constexpr explicit(<i>see below</i>) basic_vec(const basic_vec&lt;U, UAbi&gt;&amp; x) noexcept;
258274
</pre>

0 commit comments

Comments
 (0)