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

core: Move elememts from one vector to the final one #285

Merged
merged 1 commit into from
Jul 3, 2019

Conversation

gjasny
Copy link
Collaborator

@gjasny gjasny commented Jul 3, 2019

No description provided.

@gjasny gjasny requested a review from jupp0r July 3, 2019 18:35
@jupp0r
Copy link
Owner

jupp0r commented Jul 3, 2019

Nice optimization. I don't think the end() needs the std::make_move_iterator, but it doesn't hurt.

@jupp0r jupp0r merged commit d83dd68 into master Jul 3, 2019
@gjasny gjasny deleted the move-when-collecting branch August 31, 2019 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants