An STL-compatible hash function object that can be extended to hash user defined types
The Boost.ContainerHash library, part of Boost C++ Libraries,
provides boost::hash
, an enhanced implementation of the
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<X>
by defining an appropriate overload of the
function hash_value
.
... More
license | BSL-1.0 |
---|---|
project | boost |
url | github.com/boostorg/container_hash |
doc-url | www.boost.org/doc/libs/1_85_0/libs/container_hash |
boost-users@lists.boost.orgMailing list | |
topics | C++Boost |
5 Versions
version | 1.85.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 3; libboost-config, libboost-describe, libboost-mp11 |
reviews | +1 |
version | 1.83.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 4; libboost-config, libboost-describe, libboost-mp11, libboost-type-traits |
reviews | +1 |
version | 1.81.0+1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 4; libboost-config, libboost-describe, libboost-mp11, libboost-type-traits |
reviews | +1 |
version | 1.78.0 |
---|---|
repository | https://pkg.cppget.org/1/legacy |
depends | 7; libboost-assert, libboost-config, libboost-core, libboost-detail, libboost-integer, libboost-static-assert, libboost-type-traits |
reviews | +1 |
version | 1.77.0+1 |
---|---|
repository | https://pkg.cppget.org/1/legacy |
depends | 7; libboost-assert, libboost-config, libboost-core, libboost-detail, libboost-integer, libboost-static-assert, libboost-type-traits |
reviews | +1 |