Closed youyu3 closed 1 year ago
As a follow-on, if we fix this issue, we could simplify layout_stride::mapping::is_exhaustive()
into return required_span_size() == size()
.
See Compiler Explorer example for @youyu3 's original comment: https://godbolt.org/z/5z5T6GeP5
In https://github.com/kokkos/mdspan/blob/stable/include/experimental/__p0009_bits/layout_stride.hpp, the line of
should be
to be consistent with the spec (http://eel.is/c++draft/views#mdspan.layout.stride.expo)