Skip to content

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