microsoft / microsoft/STL

P2630R4 `submdspan`

Open
#3,807 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cxx26 mdspan
Dominant language
C++
Stars
11.1k
Forks
1.7k
Avg merge
4d 15h
Merged PRs (30d)
22

Description

WG21-P2630R4 submdspan
WG21-P2642R6 Padded mdspan Layouts
WG21-P3355R1 Fix submdspan
WG21-P3663R3 Future-Proof submdspan_mapping
WG21-P3982R2 Split strided_slice Into extent_slice And range_slice
LWG-3970 [mdspan.syn] Missing definition of full_extent_t and full_extent
LWG-4060 submdspan preconditions do not forbid creating invalid pointer
LWG-4272 For rank == 0, layout_stride is atypically convertible
LWG-4314 Missing move in mdspan layout mapping::operator()
LWG-4372 Weaken Mandates: for dynamic padding values in padded layouts
LWG-4491 Rename submdspan_extents and submdspan_canonicalize_slices

Feature-test macro:

#define __cpp_lib_submdspan 202603L

Note: We are not yet accepting PRs for C++26 features.

Contributor guide

Open the contributing guide

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

The issue lists WG21 proposals and LWG issues for implementing submdspan, but names no source files or tests. Start by reviewing the listed standards papers and library conventions for mdspan. The work is not ready for a newcomer while C++26 PRs are not being accepted; done would require an accepted implementation plan and corresponding feature-test coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.