P0009 LWG Review 03/04/2022
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 29
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
Label naming: https://github.com/cplusplus/draft/wiki/Specification-Style-Guidelines#labels
mdspan.terms
par 2: remove ... from idxc12ff4a4fpar 3: remove $ signse5e8eb905
Extents synopsis
extents::rank_dynamic call dynamic-index instead of foldc12ff4a4fchange comment: Constructors and assignment to Constructors, label change to mdspan.extents.ctorsc0745758mdspan.extents.compare -> mdspan.extents.cmpe5e8eb905paragraph 3-5 being one, leave 6c0745758rev-prod-of-extents misses argument name e and i in synopsis and definitionc0745758Preconditions missing dot: 7 9 11 1394fe9afc0b1par: 12 and 14 comma after condition, and "the product"94fe9afc0b1Separate heading for exposition only members where the line isc0745758make fwd/rev-prod-of-extents public member functionsc0745758ad3accept rank-typec0745758ad3- add note: these functions are only invoked in situations where this can't overflow
mdspan.extents.cons
-
converting constructor:
put the explicit condition into the see below (but not in the synopsis)737dae6357For each E_r that is not dynamic index, E_r is equal to other.extent(r).c0745758
-
par 5.3: dynamic extents should not be in italics94fe9afc0b1 -
Thought experiment but don't do this:
template<class...SizeTypes
explicit constexpr extents(SizeTypes... exts)
-
- change to have two constructors with dynamic and rank size_types
- try this in implementation
-
qualify move/forward with std:: everywhere4e4df5e004a -
par 7: remove italics from static extent94fe9afc0b1 -
par 9.1 "is" true instead of "equals" truec0745758 -
par 9.3 (N=rank_dynamic || N==rank()) isc0745758true -
par 11.1 element wise wording like 11.22361c570adalso check that in2361c570adlayout_stride
-
just do737dae6357explicit extents(Integrals...) -> see below
mdspan.extents.obs
put back in "static" before static_extent1b571ebcb430
mdspan.layout
Fix numberingec5e87461481par 1.6: the integer packs i and j are ...c12ff4a4par 1.8: dr is a pack of (possibly const) pack of integersc12ff4a4make dr a d_r like E_r1b571ebcb430
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the unchecked items in the issue under the Extents synopsis and constructor sections, then review the referenced commits and surrounding mdspan wording. Confirm which review comments remain unresolved, including the overflow note and constructor questions; done means the remaining checklist items are addressed in the proposal text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100