https://github.com/boostorg/container_hash
Generic hash function for STL style unordered containers
https://github.com/boostorg/container_hash
Last synced: 8 months ago
JSON representation
Generic hash function for STL style unordered containers
- Host: GitHub
- URL: https://github.com/boostorg/container_hash
- Owner: boostorg
- Created: 2017-12-22T17:40:37.000Z (over 8 years ago)
- Default Branch: develop
- Last Pushed: 2025-03-15T16:57:48.000Z (over 1 year ago)
- Last Synced: 2025-03-30T09:05:25.985Z (about 1 year ago)
- Language: C++
- Homepage: https://boost.org/libs/container_hash
- Size: 2.07 MB
- Stars: 34
- Watchers: 11
- Forks: 47
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Boost.ContainerHash
The Boost.ContainerHash library, part of [Boost C++ Libraries](https://boost.org),
provides `boost::hash`, an enhanced implementation of the
[hash function](https://en.wikipedia.org/wiki/Hash_function) object specified
by C++11 as `std::hash`, and several support facilities (`hash_combine`,
`hash_range`, `hash_unordered_range`).
`boost::hash` supports most standard types and some user-defined types out of
the box, and is extensible; it's possible for a user-defined type `X` to make
iself hashable via `boost::hash` by defining an appropriate overload of the
function `hash_value`.
See [the documentation of the library](https://www.boost.org/libs/container_hash)
for more information.
## License
Distributed under the
[Boost Software License, Version 1.0](http://boost.org/LICENSE_1_0.txt).