-
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 P2441R2 views::join_with #2619
Conversation
Co-authored-by: Michael Schellenberger Costa <[email protected]>
Co-authored-by: Michael Schellenberger Costa <[email protected]>
Co-authored-by: Michael Schellenberger Costa <[email protected]>
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
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.
I have some question about the use of _Throw_bad_variant_access
whether this is a valid use case here.
I would like to get some feedback on that
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Co-authored-by: Michael Schellenberger Costa <[email protected]>
I've pushed a merge with |
I'm speculatively mirroring this to the MSVC-internal repo. Further changes can be pushed, but please notify me. |
Thanks for implementing this C++23 ranges feature! ✅ 😻 🎉 |
Co-authored-by: Michael Schellenberger Costa <[email protected]> Co-authored-by: Stephan T. Lavavej <[email protected]> Co-authored-by: Casey Carter <[email protected]>
This implements P2441R2
views::join_with
.Fixes #2538.
I need suggestions on test. This view depends on the category (input/forward/bidirectional), commonness, and element type of three ranges (outer, inner, pattern). Currently I simply copy the
instantiation_test
function fromP0896R4_views_join
, but it might be desirable to also test non-bidirectional_range
or non-common_range
patterns.