-
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
Modernize ranges::swap_ranges and ranges::distance #1062
Conversation
I think I'm having a negative influence on you ;) |
BTW can somebody tell my why this breaks, because it totally works on my machine (Aka why does it not swap the ranges?) |
There is a bug in |
Hooray for increased test coverage |
At least on my machine it works now, but it did before so ... |
clang ran out of constexpr evaluation limit on my machine. |
This is no longer blocked on #1062: we should be able to merge master and get this cleaned up and across the finish line. |
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 - I will push a change to fix a comment (I verified against WG21-N4861 that the test code was correct) and to complete the using namespace std;
change. Thanks!
Thanks for the ongoing modernizations! 🚀 |
This swaps the implementation of the the last two algorithms to bridge the distance to the other ones.