Skip to content

Implement LWG-4510 Ambiguity of std::ranges::advance and std::ranges::next when the difference type is also a sentinel type#6224

Merged
StephanTLavavej merged 6 commits intomicrosoft:mainfrom
mirion-dev:lwg-4510
Apr 17, 2026

Conversation

@mirion-dev
Copy link
Copy Markdown
Contributor

Fixes #6218.

…es::next` when the difference type is also a sentinel type
@mirion-dev mirion-dev requested a review from a team as a code owner April 5, 2026 07:43
@github-project-automation github-project-automation bot moved this to Initial Review in STL Code Reviews Apr 5, 2026
@StephanTLavavej StephanTLavavej added LWG Library Working Group issue ranges C++20/23 ranges labels Apr 6, 2026
Comment thread tests/std/tests/P0896R4_ranges_iterator_machinery/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_ranges_iterator_machinery/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_ranges_iterator_machinery/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_ranges_iterator_machinery/test.cpp Outdated
Comment thread tests/std/tests/P0896R4_ranges_iterator_machinery/test.cpp Outdated
@StephanTLavavej StephanTLavavej moved this from Initial Review to Ready To Merge in STL Code Reviews Apr 13, 2026
@StephanTLavavej StephanTLavavej moved this from Ready To Merge to Merging in STL Code Reviews Apr 15, 2026
@StephanTLavavej
Copy link
Copy Markdown
Member

I'm mirroring this to the MSVC-internal repo. Please notify me if any further changes are pushed, otherwise no action is required.

@StephanTLavavej StephanTLavavej merged commit c46a5fe into microsoft:main Apr 17, 2026
49 checks passed
@github-project-automation github-project-automation bot moved this from Merging to Done in STL Code Reviews Apr 17, 2026
@StephanTLavavej
Copy link
Copy Markdown
Member

😻 😸 🐈

@mirion-dev mirion-dev deleted the lwg-4510 branch April 17, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LWG Library Working Group issue ranges C++20/23 ranges

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

LWG-4510 Ambiguity of std::ranges::advance and std::ranges::next when the difference type is also a sentinel type

2 participants