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

Implement iter_swap CPO #332

Merged
merged 1 commit into from
Aug 23, 2023
Merged

Implement iter_swap CPO #332

merged 1 commit into from
Aug 23, 2023

Conversation

miscco
Copy link
Collaborator

@miscco miscco commented Aug 15, 2023

This implements the iter_swap CPO from c++ 20 ranges backported to C++17

@miscco miscco requested review from a team as code owners August 15, 2023 09:16
@miscco miscco requested review from wmaxey and griwes and removed request for a team August 15, 2023 09:16
@miscco miscco linked an issue Aug 15, 2023 that may be closed by this pull request
@miscco
Copy link
Collaborator Author

miscco commented Aug 21, 2023

Ping @wmaxey @griwes

@griwes
Copy link
Collaborator

griwes commented Aug 22, 2023

Are the casts to void in the comma expressions a crucial part of this change, or can they be separated out?

@miscco
Copy link
Collaborator Author

miscco commented Aug 22, 2023

Yes and no

They are essentially bugfixes that are unraveled from the updated test_iterators. So we can move them out but not in a followup patch

@miscco miscco merged commit 259723e into NVIDIA:main Aug 23, 2023
@miscco miscco deleted the implement_iter_swap branch August 23, 2023 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Implement iter_swap CPO
2 participants