Checking our implementation of <mdspan> against the testsuite of libc++, revealed differences in noexcept guarantees [1].
Libc++ performed two types of strengthening. These patches contain simiar or same strengthening. Thank you, for running the libc++ tests. [1]: https://gcc.gnu.org/pipermail/libstdc++/2025-July/062572.html Luc Grosheintz (2): libstdc++: Strengthen exception guarantee for mdspan methods. libstdc++: Make the default ctor of mdspan conditionally noexcept. libstdc++-v3/include/std/mdspan | 33 +++-- .../23_containers/mdspan/layout_like.h | 134 +++++++++--------- .../testsuite/23_containers/mdspan/mdspan.cc | 54 +++++++ 3 files changed, 143 insertions(+), 78 deletions(-) -- 2.50.0