mdspan
mdspan copied to clipboard
Constraint on `layout_{left|right|stride}::stride` is not implemented
Per http://eel.is/c++draft/mdspan.layout.left.obs#5, should have
constexpr index_type stride(rank_type i) const;
Constraints:extents_type::rank() > 0
istrue
But is not implemented, for example: https://github.com/kokkos/mdspan/blob/stable/include/experimental/__p0009_bits/layout_left.hpp#L206
stride(0)
returns 1 for a 0-D mapping (stdex::extents<size_t>
).