Skip to content

Commit 731cda1

Browse files
mattkretztkoeppe
authored andcommitted
[simd.permute.*] Change M back to V since the wording refers to V
This was changed editorially by b6e5010 as part of "2025-06 LWG Motion 13: P3691R1 Reconsider naming of the namespace for std::simd", but turned out not to be a helpful change, because it makes other wording more complex. Fixes NB US 180-295 (C++26 CD).
1 parent 6a31f94 commit 731cda1

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

source/numerics.tex

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16968,33 +16968,33 @@
1696816968

1696916969
template<@\exposid{simd-size-type}@ N = @\seebelow@, @\exposconcept{simd-vec-type}@ V, class IdxMap>
1697016970
constexpr resize_t<N, V> permute(const V& v, IdxMap&& idxmap);
16971-
template<@\exposid{simd-size-type}@ N = @\seebelow@, @\exposconcept{simd-mask-type}@ M, class IdxMap>
16972-
constexpr resize_t<N, M> permute(const M& v, IdxMap&& idxmap);
16971+
template<@\exposid{simd-size-type}@ N = @\seebelow@, @\exposconcept{simd-mask-type}@ V, class IdxMap>
16972+
constexpr resize_t<N, V> permute(const V& v, IdxMap&& idxmap);
1697316973

1697416974
// \ref{simd.permute.dynamic}, dynamic permute
1697516975
template<@\exposconcept{simd-vec-type}@ V, @\exposconcept{simd-integral}@ I>
1697616976
constexpr resize_t<I::size(), V> permute(const V& v, const I& indices);
16977-
template<@\exposconcept{simd-mask-type}@ M, @\exposconcept{simd-integral}@ I>
16978-
constexpr resize_t<I::size(), M> permute(const M& v, const I& indices);
16977+
template<@\exposconcept{simd-mask-type}@ V, @\exposconcept{simd-integral}@ I>
16978+
constexpr resize_t<I::size(), V> permute(const V& v, const I& indices);
1697916979

1698016980
// \ref{simd.permute.mask}, mask permute
1698116981
template<@\exposconcept{simd-vec-type}@ V>
1698216982
constexpr V compress(const V& v, const typename V::mask_type& selector);
16983-
template<@\exposconcept{simd-mask-type}@ M>
16984-
constexpr M compress(const M& v, const type_identity_t<M>& selector);
16983+
template<@\exposconcept{simd-mask-type}@ V>
16984+
constexpr V compress(const V& v, const type_identity_t<V>& selector);
1698516985
template<@\exposconcept{simd-vec-type}@ V>
1698616986
constexpr V compress(const V& v, const typename V::mask_type& selector,
1698716987
const typename V::value_type& fill_value);
16988-
template<@\exposconcept{simd-mask-type}@ M>
16989-
constexpr M compress(const M& v, const type_identity_t<M>& selector,
16988+
template<@\exposconcept{simd-mask-type}@ V>
16989+
constexpr V compress(const V& v, const type_identity_t<V>& selector,
1699016990
const typename M::value_type& fill_value);
1699116991

1699216992
template<@\exposconcept{simd-vec-type}@ V>
1699316993
constexpr V expand(const V& v, const typename V::mask_type& selector,
1699416994
const V& original = {});
16995-
template<@\exposconcept{simd-mask-type}@ M>
16996-
constexpr M expand(const M& v, const type_identity_t<M>& selector,
16997-
const M& original = {});
16995+
template<@\exposconcept{simd-mask-type}@ V>
16996+
constexpr V expand(const V& v, const type_identity_t<V>& selector,
16997+
const V& original = {});
1699816998

1699916999
// \ref{simd.permute.memory}, memory permute
1700017000
template<class V = @\seebelow@, ranges::@\libconcept{contiguous_range}@ R, @\exposconcept{simd-integral}@ I, class... Flags>
@@ -19102,8 +19102,8 @@
1910219102
\begin{itemdecl}
1910319103
template<@\exposid{simd-size-type}@ N = @\seebelow@, @\exposconcept{simd-vec-type}@ V, class IdxMap>
1910419104
constexpr resize_t<N, V> permute(const V& v, IdxMap&& idxmap);
19105-
template<@\exposid{simd-size-type}@ N = @\seebelow@, @\exposconcept{simd-mask-type}@ M, class IdxMap>
19106-
constexpr resize_t<N, M> permute(const M& v, IdxMap&& idxmap);
19105+
template<@\exposid{simd-size-type}@ N = @\seebelow@, @\exposconcept{simd-mask-type}@ V, class IdxMap>
19106+
constexpr resize_t<N, V> permute(const V& v, IdxMap&& idxmap);
1910719107
\end{itemdecl}
1910819108

1910919109
\begin{itemdescr}
@@ -19161,8 +19161,8 @@
1916119161
\begin{itemdecl}
1916219162
template<@\exposconcept{simd-vec-type}@ V, @\exposconcept{simd-integral}@ I>
1916319163
constexpr resize_t<I::size(), V> permute(const V& v, const I& indices);
19164-
template<@\exposconcept{simd-mask-type}@ M, @\exposconcept{simd-integral}@ I>
19165-
constexpr resize_t<I::size(), M> permute(const M& v, const I& indices);
19164+
template<@\exposconcept{simd-mask-type}@ V, @\exposconcept{simd-integral}@ I>
19165+
constexpr resize_t<I::size(), V> permute(const V& v, const I& indices);
1916619166
\end{itemdecl}
1916719167

1916819168
\begin{itemdescr}
@@ -19183,8 +19183,8 @@
1918319183
\begin{itemdecl}
1918419184
template<@\exposconcept{simd-vec-type}@ V>
1918519185
constexpr V compress(const V& v, const typename V::mask_type& selector);
19186-
template<@\exposconcept{simd-mask-type}@ M>
19187-
constexpr M compress(const M& v, const type_identity_t<M>& selector);
19186+
template<@\exposconcept{simd-mask-type}@ V>
19187+
constexpr V compress(const V& v, const type_identity_t<V>& selector);
1918819188
\end{itemdecl}
1918919189

1919019190
\begin{itemdescr}
@@ -19216,8 +19216,8 @@
1921619216
template<@\exposconcept{simd-vec-type}@ V>
1921719217
constexpr V compress(const V& v, const typename V::mask_type& selector,
1921819218
const typename V::value_type& fill_value);
19219-
template<@\exposconcept{simd-mask-type}@ M>
19220-
constexpr M compress(const M& v, const type_identity_t<M>& selector,
19219+
template<@\exposconcept{simd-mask-type}@ V>
19220+
constexpr V compress(const V& v, const type_identity_t<V>& selector,
1922119221
const typename M::value_type& fill_value);
1922219222
\end{itemdecl}
1922319223

@@ -19245,8 +19245,8 @@
1924519245
\begin{itemdecl}
1924619246
template<@\exposconcept{simd-vec-type}@ V>
1924719247
constexpr V expand(const V& v, const typename V::mask_type& selector, const V& original = {});
19248-
template<@\exposconcept{simd-mask-type}@ M>
19249-
constexpr M expand(const M& v, const type_identity_t<M>& selector, const M& original = {});
19248+
template<@\exposconcept{simd-mask-type}@ V>
19249+
constexpr V expand(const V& v, const type_identity_t<V>& selector, const V& original = {});
1925019250
\end{itemdecl}
1925119251

1925219252
\begin{itemdescr}

0 commit comments

Comments
 (0)