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

Allocator behavior in vectors swap method #10

Open
sjanel opened this issue Apr 29, 2021 · 0 comments
Open

Allocator behavior in vectors swap method #10

sjanel opened this issue Apr 29, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@sjanel
Copy link
Member

sjanel commented Apr 29, 2021

Currently vectors swap methods only swap the contents of the vectors, without touching each other's Allocator.
Standard defines allocator trait propagate_on_container_swap to control this behavior.

@sjanel sjanel added enhancement New feature or request good first issue Good for newcomers labels Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant