cplusplus / cplusplus/draft

[mdspan.submdspan.submdspan] p4.3 and p5.1 could be removed

Open
#6,399 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TeX
Stars
221
Forks
813
Avg merge
16h 4m
Merged PRs (30d)
36

Description

The last item of \mandates and
the first item of \expects
are subsumed by the "Effects: Equivalent to:" semantics.

However, the \expects ends with

\begin{note}
These conditions ensure that the mapping returned by \tcode{submdspan_mapping}
matches the algorithmically expected index-mapping given the slice specifiers.
\end{note}

So perhaps the redundancy for \expects is intended.
Although it can be rephrased to allude to subsumed preconditions.

I think the last item of \mandates can still be removed without problems.

Originally https://github.com/cplusplus/draft/pull/6338#discussion_r1240039539.

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

Search the TeX sources for the [mdspan.submdspan.submdspan] subclause and inspect p4.3 and p5.1 alongside the mandates, expects, and Effects wording. Resolve whether the mandates item is redundant and whether expects needs rephrasing; done when the wording and source text consistently reflect that decision.

Written by the indexing model from the issue text.

Assessment

Tech stack
tex
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.