llvm / llvm/llvm-project

P3982R2: Split `strided_slice` into `extent_slice` and `range_slice` for C++26

Open
#189,611 0 comments 0 reactions 0 assignees View on GitHub
c++26 libc++ wg21-paper
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

**Link:** https://wg21.link/P3982R2

Feature-test macro (updated):
```c++
#define __cpp_lib_submdspan 202603L // freestanding, also in
```

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked P3982R2 proposal to understand the requested C++26 API split and the updated __cpp_lib_submdspan value. Then locate the existing submdspan implementation and tests in the repository; done means the proposal's extent_slice and range_slice interfaces are supported and the feature-test macro is updated to 202603L.

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
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.