Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<ranges>: Fix dispatching for views::counted #5223

Merged

Conversation

frederick-vs-ja
Copy link
Contributor

Fixes #5183 (which is a bit beyond good first issue, IMO).

Drive-by changes:

  • Fixing test::redifference_iterator, which should always have iterator_concept.
  • Cleaning up using-declarations in P0896R4_views_counted/test.cpp.

There's a bug of MSVC which forbids using ranges::contiguous_range; contiguous_range auto cat = meow(); to work. I've reported DevCom-10823410 for it.

@frederick-vs-ja frederick-vs-ja requested a review from a team as a code owner January 6, 2025 09:46
@StephanTLavavej StephanTLavavej added bug Something isn't working ranges C++20/23 ranges labels Jan 6, 2025
@StephanTLavavej StephanTLavavej self-assigned this Jan 8, 2025
@StephanTLavavej StephanTLavavej removed their assignment Jan 10, 2025
@StephanTLavavej StephanTLavavej self-assigned this Jan 13, 2025
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit 9ec1309 into microsoft:main Jan 14, 2025
39 checks passed
@StephanTLavavej
Copy link
Member

🧛 🍪 🔢

@frederick-vs-ja frederick-vs-ja deleted the views-counted-dispatch branch January 14, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ranges C++20/23 ranges
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

<ranges>: views::counted::_Choose() misses difference casting for contiguous_iterator case
2 participants