ORNL / ORNL/cpp-proposals-pub

P0009: Verify support for degenerate subspans

Open
#78 2 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 we permit a slice argument make_pair(k,k), then the resulting subspan is degenerate. Do we want to allow those? If so, we need to make sure all the language allows them.

@crtrott @dsunder @dhollman

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

No files, tests, or entry points are named. Start by reading the P0009 proposal material and the discussion around slice arguments using make_pair(k,k); determine whether degenerate subspans are intended to be allowed, then verify that every relevant language rule handles them consistently.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.