Skip to content
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

Merged
merged 10 commits into from
Sep 24, 2020
Merged

Making set algorithms conform to C++20 #4970

merged 10 commits into from
Sep 24, 2020

Conversation

hkaiser
Copy link
Member

@hkaiser hkaiser commented Sep 19, 2020

This PR make sure the following algorithms conform to C++20

  • set_intersection
  • set_difference
  • set_symmetric_difference
  • set_union
  • includes
  • merge
  • inplace_merge

@msimberg
Copy link
Contributor

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)?

@hkaiser
Copy link
Member Author

hkaiser commented Sep 21, 2020

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.

@hkaiser hkaiser force-pushed the set_algorithms branch 2 times, most recently from f26037c to 82e8802 Compare September 21, 2020 19:23
@hkaiser
Copy link
Member Author

hkaiser commented Sep 21, 2020

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.

@msimberg this should be fine now. I also managed to find a bug in hpx::includes that was there from the beginning \o/

@hkaiser
Copy link
Member Author

hkaiser commented Sep 22, 2020

Please note that I will add another commit here that will make merge and inplace_merge conforming to c++20.

@hkaiser
Copy link
Member Author

hkaiser commented Sep 22, 2020

@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 is_execution_policy to namespace hpx...

- flyby: make projection_identity conform to C++20
@msimberg
Copy link
Contributor

@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 is_execution_policy to namespace hpx...

No problem at all, they're not so easy to catch without the warnings. Thanks for doing this!

hkaiser and others added 2 commits September 23, 2020 07:35
…place_merge_range.cpp

Co-authored-by: Mikael Simberg <mikael.simberg@iki.fi>
@hkaiser
Copy link
Member Author

hkaiser commented Sep 24, 2020

@msimberg I think this is good to go now.

@msimberg msimberg merged commit 3a49547 into master Sep 24, 2020
@msimberg msimberg deleted the set_algorithms branch September 24, 2020 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants