mdspan: allow `move` on the pointer object passed to constructor
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
The way the proposal is currently written, the constructor specifies copy semantics on the pointer for, e.g., the construction from a pointer and sizes. This means that for non-trivially-copyable pointer types, the implementation is required to do a double copy (rather than a copy and a move or a reference and a copy, for instance). This can be fixed trivially and should be.
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.