-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Implement LWG-3737 take_view::sentinel
should provide operator-
#3320
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just some style nits.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, although the utility of this LWG issue seems suspect to me lol (given that it only triggers when disable_sized_range<R> && sized_sentinel_for<S, I>
)
More precisely, it's |
Thanks! Really appreciate the test case, especially when it's non-trivial to set up like this one. @CaseyCarter @strega-nil-ms I pushed changes after you approved, to defend against |
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
Thanks for taking the STL to the next level of conformance! 📊 🎉 😹 |
Fixes #3223.
(
counted_iterator<counted_iterator<T>>
seems a bit messy. Should I add a prettier test case?)