v3 flag enabled
Function-objects C++11
Added in 1.78.0

Boost.ContainerHash

An STL-compatible hash function object that can be extended to hash user defined types.

Dependencies

Contributors: This Release


Documentation

Boost.ContainerHash

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 itself hashable via boost::hash<X> by defining an appropriate overload of the function hash_value.

See the documentation of the library for more information.

License

Distributed under the Boost Software License, Version 1.0.

Latest Boost.ContainerHash posts

Join the Boost Developers Mailing List

Get the latest on releases, features, security patches, fixes and all major announcements.

All Contributors