Skip to content

Commit

Permalink
simd_mask template argument default fixes
Browse files Browse the repository at this point in the history
ChangeLog:

	* P1928/changelog.tex:
	* P1928/wording.tex:
  • Loading branch information
mattkretz committed Apr 24, 2024
1 parent aeb91ce commit 5dacf45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions P1928/changelog.tex
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ \section{Changelog}
\item Consistently use \code{size} as a callable in the wording.
\item Add missing \code{type_identity_t} for \code{reduce} (\ref{sec:simd.syn}, \ref{sec:simd.reductions}).
\item Spell out “iff” (\ref{wording.deducet}).
\item Fixed template argument to \nativeabi\ in the default template argument of \code{basic_simd_mask} (\ref{sec:simd.syn}).
\item Fixed default template argument to \code{simd_mask} to be consistent with \code{simd} (\ref{sec:simd.syn}).

\todo Add \code{<simd>} to the list of headers in 16.4.2.3
\end{revision}
4 changes: 2 additions & 2 deletions P1928/wording.tex
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@
using simd = basic_simd<T, @\deducet@<T, N>>;

// \ref{simd.mask.class}, Class template \tcode{basic_simd_mask}
template<size_t Bytes, class Abi = @\nativeabi@<T>> class basic_simd_mask;
template<class T, @\simdsizetype@ N = basic_simd_mask<sizeof(T)>::size()>
template<size_t Bytes, class Abi = @\nativeabi@<@\integerfrom@<Bytes>>> class basic_simd_mask;
template<class T, @\simdsizetype@ N = basic_simd<T>::size()>
using simd_mask = basic_simd_mask<sizeof(T), @\deducet@<T, N>>;

// \ref{simd.creation}, \tcode{basic_simd} and \tcode{basic_simd_mask} creation
Expand Down

0 comments on commit 5dacf45

Please sign in to comment.