[libcxx-commits] [libcxx] [libc++] Partially implement P2642R6: Padded mdspan layouts (PR #187873)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri May 29 14:51:43 PDT 2026


eiytoq wrote:

I noticed a gap between the padded layouts and the non-padded layouts.

`layout_{left,right}::mapping::stride` is constrained with `rank() > 0`, but
`layout_{left,right}_padded::mapping::stride` is not.

Should we make them consistent?

CC @frederick-vs-ja 

https://github.com/llvm/llvm-project/pull/187873


More information about the libcxx-commits mailing list