-
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
P2446R2: views::as_rvalue
#3008
Conversation
40c1cea
to
84d7242
Compare
36b81bb
to
7dd4532
Compare
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.
Minor changes requested, otherwise LGTM!
Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
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.
Thanks!
Thanks, this looks great! I pushed minor changes (FYI @strega-nil-ms after you approved) for nitpicky style issues and a slight expansion of test coverage. |
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
Thanks again for implementing this C++23 feature and helping users write more elegant, more efficient code! 😻 🚀 🎉 |
Implements P2446R2 -
views::as_rvalue
. Closes #2929.Notes:
Marked as draft - I'm unable to implement full test coverage due to iterator unwrapping problems.Not anymore - I've implemented customtest_equal
function that should be replaced withranges::equal
after<iterator>
:move_sentinel
could be unwrappable #3009 is fixed,views::stride
#2981: