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 flat hash map to be consistent with initializer #48

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

agl-alexglopez
Copy link
Owner

@agl-alexglopez agl-alexglopez commented Dec 16, 2024

The flat hash map was the only associative container where the initializer had the key field before the intrusive element field. Now, it has been fixed to have a consistent key and elem order as other containers. This would have been very confusing to use and subtle if incorrect with little error reporting.

@agl-alexglopez agl-alexglopez marked this pull request as ready for review December 16, 2024 22:07
@agl-alexglopez agl-alexglopez merged commit d336856 into main Dec 16, 2024
7 checks passed
@agl-alexglopez agl-alexglopez deleted the fhm-init-consistency branch December 16, 2024 22:07
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