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
Stephan T. Lavavej (StephanTLavavej) merged 6 commits into
microsoft: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 (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 Stephan T. Lavavej (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 Stephan T. Lavavej (StephanTLavavej) moved this from Initial Review to Ready To Merge in STL Code Reviews Apr 13, 2026
@StephanTLavavej Stephan T. Lavavej (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
Stephan T. Lavavej (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

😻 😸 🐈

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

2 participants