From 0dcbd7594b00d5d48290ddbcf156e3489b7cbc9f Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Fri, 14 Nov 2025 19:31:46 +0100 Subject: [PATCH 1/2] P3922R1 Missing deduction guide from simd::mask to simd::vec --- source/numerics.tex | 19 +++++++++++++++++++ source/support.tex | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/source/numerics.tex b/source/numerics.tex index 9d6bf6e62c..77c8c3a577 100644 --- a/source/numerics.tex +++ b/source/numerics.tex @@ -17652,6 +17652,9 @@ template basic_vec(R&& r, Ts...) -> @\seebelow@; + + template + basic_vec(basic_mask) -> @\seebelow@; } \end{codeblock} @@ -17866,6 +17869,22 @@ ranges::size(r)>}. \end{itemdescr} +\begin{itemdecl} +template + basic_vec(basic_mask) -> @\seebelow@; +\end{itemdecl} + +\begin{itemdescr} +\pnum +\constraints +\tcode{basic_mask} is an enabled specialization of \tcode{basic_mask} and +\tcode{decltype(+k)} is a valid type. + +\pnum +\remarks +The deduced type is equivalent to \tcode{decltype(+k)}. +\end{itemdescr} + \indexlibraryctor{basic_vec} \begin{itemdecl} template<@\exposconcept{simd-floating-point}@ V> diff --git a/source/support.tex b/source/support.tex index c6929d58ff..13a978d1e4 100644 --- a/source/support.tex +++ b/source/support.tex @@ -827,7 +827,7 @@ #define @\defnlibxname{cpp_lib_shared_ptr_weak_type}@ 201606L // also in \libheader{memory} #define @\defnlibxname{cpp_lib_shared_timed_mutex}@ 201402L // also in \libheader{shared_mutex} #define @\defnlibxname{cpp_lib_shift}@ 202202L // also in \libheader{algorithm} -#define @\defnlibxname{cpp_lib_simd}@ 202506L // also in \libheader{simd} +#define @\defnlibxname{cpp_lib_simd}@ 202511L // also in \libheader{simd} #define @\defnlibxname{cpp_lib_simd_complex}@ 202502L // also in \libheader{simd} #define @\defnlibxname{cpp_lib_simd_permutations}@ 202506L // also in \libheader{simd} #define @\defnlibxname{cpp_lib_smart_ptr_for_overwrite}@ 202002L // also in \libheader{memory} From 9d76fc913db45b786a483f6c816e2bfbaadca0e5 Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Sat, 15 Nov 2025 19:16:07 +0100 Subject: [PATCH 2/2] Fixup: add missing "k" parameter --- source/numerics.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/numerics.tex b/source/numerics.tex index 77c8c3a577..94f8bca7c6 100644 --- a/source/numerics.tex +++ b/source/numerics.tex @@ -17871,7 +17871,7 @@ \begin{itemdecl} template - basic_vec(basic_mask) -> @\seebelow@; + basic_vec(basic_mask k) -> @\seebelow@; \end{itemdecl} \begin{itemdescr}