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

Tomasz Kaminski tkaminsk@redhat.com
Thu Aug 14 11:28:44 GMT 2025


Thank you, the patches looks good to me, so just waiting for approval.

I have tested the patches locally, and now have my ready to merge branch
that contains the series
in following order:
* [PATCH v2 0/8] libstdc++: Sequence of improvements to <mdspan>. (there
are mine v3 patches)
  https://gcc.gnu.org/pipermail/libstdc++/2025-August/062847.html
* [PATCH v1 0/2] Two cleanup patches for <mdspan>.
  (this patch)
* [PATCH v3] libstdc++: Implement std::dims from <mdspan>.
  https://gcc.gnu.org/pipermail/libstdc++/2025-August/062847.html


On Mon, Aug 11, 2025 at 10:20 PM 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(-)
>
> --
> 2.50.0
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20250814/e9b45395/attachment.htm>


More information about the Libstdc++ mailing list