[PATCH v2 0/2] Two cleanup patches for <mdspan>.

Jonathan Wakely jwakely@redhat.com
Wed Aug 20 16:52:38 GMT 2025


On Mon, 11 Aug 2025 at 21:19, Luc Grosheintz <luc.grosheintz@gmail.com> wrote:
>
> This second iteration:
>
>   - fixes the commit message of both patches,
>   - prefers if over multiplying with 1,
>   - use a span instead of a const array&,
>   - use constexpr for __sta_prod.
>
> Luc Grosheintz (2):
>   libstdc++: Reduce size static storage for __fwd_prod in mdspan.
>   libstdc++: Simplify precomputed partial products in <mdspan>.
>
>  libstdc++-v3/include/std/mdspan | 46 +++++++++++++++++----------------
>  1 file changed, 24 insertions(+), 22 deletions(-)


Both patches in this series are OK for trunk too.



More information about the Libstdc++ mailing list