diff --git a/doc/hash/reference.adoc b/doc/hash/reference.adoc index b5afe0d..c2cd680 100644 --- a/doc/hash/reference.adoc +++ b/doc/hash/reference.adoc @@ -610,14 +610,14 @@ in the input translate to large changes in the returned hash code —ideally, flipping one bit in the representation of the input value results in each bit of the hash code flipping with probability 50%. Libraries such as link:../../../unordered/index.html[Boost.Unordered] consult this trait -to determine if the supplied hash function is of high quality. +to determine if the supplied hash function is of high quality. `boost::hash` for `std::basic_string` and `std::basic_string_view` has this trait set to `true` when `Ch` is an integral type (this includes `std::string` and `std::string_view`, among others). Users can set this trait for a particular `Hash` type by: * Inserting the nested `is_avalanching` typedef in the class definition -if they have access to its source code. +if they have access to its source code. * Writing a specialization of `boost::hash_is_avalanching` for `Hash`. diff --git a/include/boost/container_hash/hash_is_avalanching.hpp b/include/boost/container_hash/hash_is_avalanching.hpp index 65c7059..fb6b748 100644 --- a/include/boost/container_hash/hash_is_avalanching.hpp +++ b/include/boost/container_hash/hash_is_avalanching.hpp @@ -44,7 +44,7 @@ struct hash_is_avalanching_impl