Re: [PATCH v2 2/5] libstdc++: Check prerequite of extents::extents.

2025-07-01 Thread Tomasz Kaminski
On Fri, Jun 27, 2025 at 11:29 AM Luc Grosheintz wrote: > Previously the prerequite of the extents ctors that > > static_extent(i) == dynamic_extent || extent(i) == other.extent(i). > > was not checked. This commit add the __glibcxx_assert and test it. > > libstdc++-v3/ChangeLog: > > *

[PATCH v2 2/5] libstdc++: Check prerequite of extents::extents.

2025-06-27 Thread Luc Grosheintz
Previously the prerequite of the extents ctors that static_extent(i) == dynamic_extent || extent(i) == other.extent(i). was not checked. This commit add the __glibcxx_assert and test it. libstdc++-v3/ChangeLog: * include/std/mdspan (extents): Check prerequite of the ctor that