Re: [PATCH v3 4/5] libstdc++: Implement __mdspan::__size.

2025-07-07 Thread Jonathan Wakely
On Fri, 4 Jul 2025 at 09:34, Luc Grosheintz wrote: > > The current code uses __mdspan::__fwd_prod(__exts, __rank) to express > computing the size of an extent. This commit adds an function __mdspan:: > __size(__exts) to express the idea more directly. > > libstdc++-v3/ChangeLog: > > * incl

Re: [PATCH v3 4/5] libstdc++: Implement __mdspan::__size.

2025-07-07 Thread Tomasz Kaminski
On Fri, Jul 4, 2025 at 10:34 AM Luc Grosheintz wrote: > The current code uses __mdspan::__fwd_prod(__exts, __rank) to express > computing the size of an extent. This commit adds an function __mdspan:: > __size(__exts) to express the idea more directly. > > libstdc++-v3/ChangeLog: > > * in

[PATCH v3 4/5] libstdc++: Implement __mdspan::__size.

2025-07-04 Thread Luc Grosheintz
The current code uses __mdspan::__fwd_prod(__exts, __rank) to express computing the size of an extent. This commit adds an function __mdspan:: __size(__exts) to express the idea more directly. libstdc++-v3/ChangeLog: * include/std/mdspan (__mdspan::__size): New function. Signed-off-by: L