Skip to content

Commit

Permalink
[simd.creation] Use return type from synopsis
Browse files Browse the repository at this point in the history
The return type in the itemdecl/-descr was obviously wrong (ABI tag as
first template argument to the simd_mask alias template and missing
closing template bracket). The synopsis had the correct return type.
  • Loading branch information
mattkretz committed Nov 25, 2024
1 parent 864542f commit 943a96d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions source/numerics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17972,8 +17972,8 @@
constexpr simd<T, (basic_simd<T, Abis>::size() + ...)>
simd_cat(const basic_simd<T, Abis>&... xs) noexcept;
template<size_t Bytes, class... Abis>
constexpr simd_mask<@\exposid{deduce-abi-t}@<@\exposid{integer-from}@<Bytes>,
(basic_simd_mask<Bytes, Abis>::size() + ...)>
constexpr basic_simd_mask<Bytes, @\exposid{deduce-abi-t}@<@\exposid{integer-from}@<Bytes>,
(basic_simd_mask<Bytes, Abis>::size() + ...)>>
simd_cat(const basic_simd_mask<Bytes, Abis>&... xs) noexcept;
\end{itemdecl}

Expand All @@ -17986,8 +17986,9 @@
is enabled.
\item
For the second overload
\tcode{simd_mask<\exposid{deduce-abi-t}<\exposid{integer-from}<Bytes>,
(basic_simd_mask\brk{}<\brk{}Bytes, Abis>::size() + ...)>} is enabled.
\tcode{basic_simd_mask<Bytes,
\exposid{deduce-abi-t}<\exposid{integer-from}<Bytes>,
(ba\-sic_simd_mask<Bytes, Abis>::size() + ...)>>} is enabled.
\end{itemize}

\pnum
Expand Down

0 comments on commit 943a96d

Please sign in to comment.