Matthias Kretz [Thursday, 2 July 2026, 13:44:37 CEST]:
> diff --git a/libstdc++-v3/include/bits/simd_vec.h
> b/libstdc++-v3/include/bits/ simd_vec.h
> index bf6616df227..54c1502b23b 100644
> --- a/libstdc++-v3/include/bits/simd_vec.h
> +++ b/libstdc++-v3/include/bits/simd_vec.h
> @@ -449,29 +449,6 @@ _M_elements_shifted_to_front() const
>         static_assert(_Shift < _S_size && -_Shift < _S_size);
>         if constexpr (_Shift == 0)
>           return *this;

I just realized I want an 'else' right here.

>         return _S_static_permute(*this, [](int __i) consteval {
>                  int __off = __i + _Shift;
>                  return __off >= _S_size || __off < 0 ? zero_element :
> __off;

-- 
──────────────────────────────────────────────────────────────────────────
 Dr. Matthias Kretz                           https://mattkretz.github.io
 GSI Helmholtz Center for Heavy Ion Research               https://gsi.de
 std::simd
──────────────────────────────────────────────────────────────────────────

Reply via email to