mdspan: layout_stride should support static strides
Open
@crtrott is already working on this.
Since Aug 5, 2019.
subject - mdspan (P0009)
- Dominant language
- HTML
- Stars
- 29
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
Either layout_stride should support static strides or subspan should be allowed to return an mdspan with something other than layout_stride. As currently written, subspan has unnecessary overhead for static extent use cases, requiring dynamic strides even if the stride can be determined statically.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.