Skip to content

Commit a93eefb

Browse files
committed
LWG4412 Fix declaration of zero_element and uninit_element
Fixes NB US-174-282 (C++26 CD).
1 parent 508ca2e commit a93eefb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/numerics.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16625,8 +16625,8 @@
1662516625
const typename basic_vec<T, Abi>::mask_type& mask, flags<Flags...> f = {});
1662616626

1662716627
// \ref{simd.permute.static}, static permute
16628-
static constexpr @\exposid{simd-size-type}@ @\libmember{zero_element}{simd}@ = @\impdefx{value of \tcode{simd::zero_element}}@;
16629-
static constexpr @\exposid{simd-size-type}@ @\libmember{uninit_element}{simd}@ = @\impdefx{value of \tcode{simd::uninit_element}}@;
16628+
inline constexpr @\exposid{simd-size-type}@ @\libmember{zero_element}{simd}@ = @\impdefx{value of \tcode{simd::zero_element}}@;
16629+
inline constexpr @\exposid{simd-size-type}@ @\libmember{uninit_element}{simd}@ = @\impdefx{value of \tcode{simd::uninit_element}}@;
1663016630

1663116631
template<@\exposid{simd-size-type}@ N = @\seebelow@, @\exposconcept{simd-vec-type}@ V, class IdxMap>
1663216632
constexpr resize_t<N, V> permute(const V& v, IdxMap&& idxmap);

0 commit comments

Comments
 (0)