P0009: submdspan does not specify returned mdspan's template parameters (esp. element type and accessor)
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 29
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
[mdspan.submdspan] in P0009r12 only specifies the behavior of the returned mdspan, without specifying its template parameters. That is, the "see below" in submdspan's return type doesn't point to anything (there's no "Returns" clause). That's OK for the layout (we don't even want to specify that), but probably not OK for the element type and accessor.
Please see the somewhat related issue https://github.com/kokkos/mdspan/issues/63 .
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.
Research direction
Read the mdspan.submdspan section in P0009r12 and compare the related discussion in issue #63. Determine the intended element type and accessor template parameters for the returned mdspan, then clarify the specification with a precise return description; done when those parameters are unambiguous.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100