mirror of
https://github.com/boostorg/container_hash.git
synced 2025-07-31 21:14:44 +02:00
Remove trailing whitespace
This commit is contained in:
@@ -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
|
—ideally, flipping one bit in the representation of the input value results
|
||||||
in each bit of the hash code flipping with probability 50%. Libraries
|
in each bit of the hash code flipping with probability 50%. Libraries
|
||||||
such as link:../../../unordered/index.html[Boost.Unordered] consult this trait
|
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<Ch>` and `std::basic_string_view<Ch>`
|
`boost::hash` for `std::basic_string<Ch>` and `std::basic_string_view<Ch>`
|
||||||
has this trait set to `true` when `Ch` is an integral type (this includes
|
has this trait set to `true` when `Ch` is an integral type (this includes
|
||||||
`std::string` and `std::string_view`, among others).
|
`std::string` and `std::string_view`, among others).
|
||||||
Users can set this trait for a particular `Hash` type by:
|
Users can set this trait for a particular `Hash` type by:
|
||||||
|
|
||||||
* Inserting the nested `is_avalanching` typedef in the class definition
|
* 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`
|
* Writing a specialization of `boost::hash_is_avalanching`
|
||||||
for `Hash`.
|
for `Hash`.
|
||||||
|
|
||||||
|
@@ -44,7 +44,7 @@ struct hash_is_avalanching_impl<Hash, typename std::enable_if< ((void)Hash::is_a
|
|||||||
{
|
{
|
||||||
// Hash::is_avalanching is not a type: we don't define value to produce
|
// Hash::is_avalanching is not a type: we don't define value to produce
|
||||||
// a compile error downstream
|
// a compile error downstream
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace hash_detail
|
} // namespace hash_detail
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user