LWG-4116 `enumerate_view::iterator` and `cartesian_product_view::iterator` should not always provide `iterator_category`

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

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
backend

Research direction

Start by reading LWG-4116 and the enumerate_view::iterator and cartesian_product_view::iterator implementations in the MSVC STL; the issue does not name their file paths or tests. Check how each iterator exposes iterator_category against the resolution of LWG-4116, then add or update tests for the affected iterator types. Done means both views provide the member only when the resolution requires it, with the tests passing.

Written by the indexing model from the issue text.

Description

LWG ranges

LWG-4116 enumerate_view::iterator and cartesian_product_view::iterator should not always provide iterator_category

Dominant language
C++
Stars
11.2k
Forks
1.7k
Avg merge
4d 4h
Merged PRs (30d)
14

Getting set up

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.

More from microsoft/STL

All issues in microsoft/STL

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.