[PATCH v2 0/2] Two cleanup patches for <mdspan>.
Luc Grosheintz
luc.grosheintz@gmail.com
Mon Aug 11 20:14:53 GMT 2025
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
More information about the Libstdc++
mailing list