ORNL / ORNL/cpp-proposals-pub

mdspan: make submdspan with compile-time slices have compile-time extents

Open
#286 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
29
Forks
26
PR merge metrics
No merged PRs in 30d

Description

If users pass an integral_constant or tuple of integral_constant as a slice specifier for submdspan, then make the specification of submdspan require that the returned mdspan have corresponding compile-time extents.

This issue is for the specification. (Given that P0009 passed WG21 Plenary vote today, the specification of submdspan will happen in a separate follow-on paper to be written.) The implementation already has a PR that does this ( https://github.com/kokkos/mdspan/pull/159 ).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the issue requirements for submdspan and the linked implementation PR #159 first. The repository description indicates this work belongs in an ISO C++ proposal; done means producing the separate follow-on specification paper defining compile-time extents for integral_constant slice specifiers.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.