Closed stotko closed 1 year ago
Patch coverage: 100.00
% and no project coverage change.
Comparison is base (
230a79d
) 97.36% compared to head (438fa1d
) 97.36%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
The
hash
function object fromfunctional
is currently only defined for specializations and will result in a compile error otherwise. However, this compiler error is not very informative (see #374) and does not provide any hints about a missing specialization when used with custom types. Makehash
always and disable all constructors for non-specialized types to follow the C++ standard more closely. Furthermore, improve the error messages in such cases by adding additional compile-time checks inunordered_map
andunordered_set
.