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

Fix constructors for custom container #40

Merged
merged 1 commit into from
Oct 8, 2022

Conversation

martinus
Copy link
Owner

@martinus martinus commented Oct 7, 2022

Previously I (wrongly) used containers for the construction of maps when a custom container was specified. That's not really how it is intended, the parameter should still be an allocator.

This fixes that issues, so now its possible to copy/move etc. maps when a custom container is used. That container needs the constructors that accept an allocator.

I had to bump version by a major number to 2.0.0 because this is an incompatible API change.

Previously I (wrongly) used containers for the construction of maps when
a custom container was specified. That's not really how it is intended,
the parameter should still be an allocator.

This fixes that issues, so now its possible to copy/move etc. maps when
a custom container is used. That container needs the constructors that
accept an allocator.

I had to bump version by a major number to 2.0.0 because this is an
incompatible API change.
@martinus martinus merged commit a7ece06 into main Oct 8, 2022
@martinus martinus deleted the 2022-10-fix-custom-allocator-api branch October 8, 2022 06:10
@martinus
Copy link
Owner Author

martinus commented Oct 8, 2022

fixes #39

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.

1 participant