diff --git a/include/boost/unordered/hash_traits.hpp b/include/boost/unordered/hash_traits.hpp index f6b912b7..5e2b1af0 100644 --- a/include/boost/unordered/hash_traits.hpp +++ b/include/boost/unordered/hash_traits.hpp @@ -42,6 +42,12 @@ struct hash_is_avalanching_impl< avalanching_value::value >{}; +template +struct hash_is_avalanching_impl< + Hash, + typename std::enable_if<((void)Hash::is_avalanching,true)>::type +>{}; /* Hash::is_avalanching is not a type: compile error downstream */ + } /* namespace detail */ /* Each trait can be partially specialized by users for concrete hash functions