-
-
Notifications
You must be signed in to change notification settings - Fork 450
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
Making set algorithms conform to C++20 #4970
Conversation
898f51d
to
d8c1e9a
Compare
This looks like it might be related to the changes here: https://cdash.cscs.ch/testDetails.php?test=28421628&build=127919 (the same test fails with some other configurations as well)? |
Yep, looks like I managed to break things. I'll investigate. |
f26037c
to
82e8802
Compare
@msimberg this should be fine now. I also managed to find a bug in |
Please note that I will add another commit here that will make |
- adding range-based overloads
- fixing set_operations to use projections - fixing includes (lower_bound/upper_bound use projections) - fixing return values for all set operations - adding range algorithms to docs
82e8802
to
44374b8
Compare
@msimberg this should be fine now. Sorry for the large number of seemingly unrelated changes, apparently I did miss a couple of places when moving |
44374b8
to
9a98613
Compare
- flyby: make projection_identity conform to C++20
9a98613
to
b843341
Compare
libs/parallelism/algorithms/tests/unit/container_algorithms/inplace_merge_range.cpp
Outdated
Show resolved
Hide resolved
No problem at all, they're not so easy to catch without the warnings. Thanks for doing this! |
…place_merge_range.cpp Co-authored-by: Mikael Simberg <mikael.simberg@iki.fi>
@msimberg I think this is good to go now. |
This PR make sure the following algorithms conform to C++20
set_intersection
set_difference
set_symmetric_difference
set_union
includes
merge
inplace_merge