Skip to content

Commit d871578

Browse files
committed
LWG wording tweaks to 4230 P/R
1 parent cf7f146 commit d871578

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

xml/issue4230.xml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,14 @@ This wording is relative to <paper num="N5014"/>.
185185
<pre>
186186
namespace std::simd {
187187
template&lt;class T, class Abi&gt; class basic_vec {
188+
<ins>using <i>real-type</i> = <i>see below</i>; <i>// exposition-only</i></ins>
188189
public:
189190
using value_type = T;
190191
using mask_type = basic_mask&lt;sizeof(T), Abi&gt;;
191192
using abi_type = Abi;
192193
using iterator = <i>simd-iterator</i>&lt;basic_vec&gt;;
193194
using const_iterator = <i>simd-iterator</i>&lt;const basic_vec&gt;;
194195

195-
<ins>using <i>real-type</i> = rebind_t&lt;typename T::value_type, basic_vec&gt; <i>// exposition-only</i></ins>
196-
197196
<i>// <sref ref="[simd.ctor]"/>, basic_vec constructors</i>
198197
[&hellip;]
199198
<del>template&lt;<i>simd-floating-point</i> V&gt;</del>
@@ -211,6 +210,14 @@ namespace std::simd {
211210
[&hellip;]
212211
}
213212
</pre>
213+
<p>-2- <i>Recommended practice</i>: [&hellip;]</p>
214+
<blockquote>[<i>Note 1</i>: &hellip;]</blockquote>
215+
<p>-?- <ins>
216+
If `T` is a specialization of `complex`, <i>`real-type`</i> denotes the same type
217+
as <tt>rebind_t&lt;typename T::value_type, basic_vec&lt;T, Abi&gt;&gt;</tt>,
218+
otherwise an unspecified non-array object type.
219+
</ins>
220+
</p>
214221
</blockquote>
215222
</li>
216223

0 commit comments

Comments
 (0)