-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Implement ranges heap algorithms #930
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
Conversation
`ranges::is_heap`, `ranges::is_heap_until`, `ranges::make_heap`, `ranges::push_heap`, `ranges::pop_heap`, and `ranges::sort_heap`.
miscco
left a comment
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.
Some smaller nits, I havent really looked at the algortihm itself
* Extend `_Rewrap_subrange` to accept a range for its first parameter in addiiton to the existing iterator support. * Add `_Rewrap_iterator`, similar to `_Rewrap_subrange`.
StephanTLavavej
left a comment
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.
Looks good to me - a few superficial comments and one "let's clean up more warning suppressions".
|
Thanks for contributing a whole heap of |
Implement ranges heap algorithms (microsoft#930)
ranges::is_heap,ranges::is_heap_until,ranges::make_heap,ranges::push_heap,ranges::pop_heap, andranges::sort_heap.Partially addresses #39.