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

Passthrough is_avalanching from std::hash #114

Merged
merged 1 commit into from
Oct 5, 2024

Conversation

Auburn
Copy link
Contributor

@Auburn Auburn commented Apr 8, 2024

If a std::hash specialisation has using is_avalanching = void; pass this through to unordered_dense::hash this avoids duplicating a hash function for a custom type if you want it to work for generic stl containers and unordered_dense with a correct avalanche tag.

@martinus martinus merged commit e445b0d into martinus:main Oct 5, 2024
@martinus
Copy link
Owner

martinus commented Oct 5, 2024

Thanks!

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