-
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 most ranges partition algorithms #976
Conversation
Includes `ranges::is_partitioned`, `ranges::partition`, `ranges::partition_copy`, and `ranges::partition_point`.
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.
The code doing the actual work and the tests look good to me.
I can't really say I have the deepest grasp on all the details of the templating for some of these functions but after staring at them for half an hour with the standard up they seem to make sense to me.
Thanks for implementing some of my favorite algorithms! 😸 Vaguely related historical trivia: |
Includes
ranges::is_partitioned
,ranges::partition
,ranges::partition_copy
, andranges::partition_point
.Partially addresses #39.