Gather/scatter do not allow C-arrays as their ranges
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start with the linked Compiler Explorer example to reproduce the failure, then locate the internal gather/scatter functions that call member functions such as r.size(). Replace the member-function assumptions with the corresponding std::ranges free functions where needed, and confirm C-arrays work as ranges in the example.
Written by the indexing model from the issue text.
Description
https://godbolt.org/z/rrfxEY8v3
The internal functions fail because they call member functions (e.g., r.size()) which don't work. Prefer free-function equivalents (e.g., std::ranges::size(r)).
- Dominant language
- C++
- Stars
- 6
- Forks
- 2
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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.
More from intel/xvec
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 5/5 Over a week Newbie friendliness 40/100
-
C++29 extension
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
C++29 extension
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
feat
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Issue-Docs Needs-Triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
microsoft/winget-cli#6692 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
stratum-mining/sv2-tp#167 ·
Maintainers usually reply within 1 day
-
better error message bug low priority semantics strings
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Sign up button opens the Sign in page instead of the Sign up page for Enterprise edition serversOpenauth bug ui/ux
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
MerginMaps/mobile#4795 ·
Maintainers usually reply within 2 days