Wiki tutorial seems out of date
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 507
- Forks
- 87
- Avg merge
- 15h 27m
- Merged PRs (30d)
- 2
Description
First-time mdspan user here so I might be mistaken.
As an example, the following code from https://github.com/kokkos/mdspan/wiki/A-Gentle-Introduction-to-mdspan#what-is-mdspan doesn't compile with the mdspan-0.2.0 release:
int* data = /* ... */
auto ms = std::mdspan<int, 2, 2>(data);
Since a type template argument is expected where 2 is given.
It seems the current correct way of saying the above is:
auto ms = std::mdspan (data, 2, 2);
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
Open the Wiki section “What is mdspan” linked in the issue and compare its example with the mdspan-0.2.0 API. Update the outdated construction example, then verify that the revised snippet compiles with that release.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100