Re: [PATCH v5 8/8] libstdc++: Make layout_left(layout_stride) noexcept.

2025-06-03 Thread Tomasz Kaminski
On Fri, May 30, 2025 at 6:48 PM Luc Grosheintz wrote: > [mdspan.layout.left.cons] of N4950 states that this ctor is not > noexcept. Since, all other ctors of layout_left, layout_right or > layout_stride are noexcept, the choice was made, based on > [res.on.exception.handling], to make this ctor n

[PATCH v5 8/8] libstdc++: Make layout_left(layout_stride) noexcept.

2025-05-30 Thread Luc Grosheintz
[mdspan.layout.left.cons] of N4950 states that this ctor is not noexcept. Since, all other ctors of layout_left, layout_right or layout_stride are noexcept, the choice was made, based on [res.on.exception.handling], to make this ctor noexcept. Two other major standard library implementations make