Unordered associative containers
Boost.Unordered offers a catalog of hash containers with different standards compliance levels, performances and intented usage scenarios:
boost::unordered_set
boost::unordered_map
boost::unordered_multiset
boost::unordered_multimap
boost::unordered_flat_set
boost::unordered_flat_map
boost::unordered_node_set
boost::unordered_node_map
boost::concurrent_flat_set
boost::concurrent_flat_map
boost::concurrent_node_set
boost::concurrent_node_map
Learn about Boost.Unordered
- Online documentation
- Some benchmarks
- Technical articles on Boost.Unordered internal design:
- Debugging visualizers for Boost.Unordered:
Boost.Unordered can be installed in a number of ways:
- Download Boost and you're ready to go (this is a header-only library requiring no building).
- Using Conan 2: In case you don't have it yet, add an entry for Boost in your
conanfile.txt
(the example requires at least Boost 1.86):
[requires]
boost/[>=1.86.0]
[options]
boost:header_only=True
- Using vcpkg: Execute the command
vcpkg install boost-unordered
- Using CMake: Boost CMake support infrastructure allows you to use CMake directly to download, build and consume all of Boost or some specific libraries.
Support
- Join the #boost-unordered discussion group at cpplang.slack.com (ask for an invite if you’re not a member of this workspace yet)
- Ask in the Boost Users mailing list
(add the
[unordered]
tag at the beginning of the subject line) - File an issue
Contribute
- Pull requests against develop branch are most welcome. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0.
license | BSL-1.0 |
---|---|
project | boost |
url | github.com/boostorg/unordered |
doc-url | www.boost.org/doc/libs/1_87_0/libs/unordered |
boost-users@lists.boost.orgMailing list | |
topics | C++Boost |
6 Versions
version | 1.87.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 7; libboost-assert, libboost-config, libboost-container-hash, libboost-core, libboost-mp11, libboost-predef, libboost-throw-exception |
reviews | +1 |
version | 1.85.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 7; libboost-assert, libboost-config, libboost-container-hash, libboost-core, libboost-mp11, libboost-predef, libboost-throw-exception |
reviews | +1 |
version | 1.83.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 12; libboost-assert, libboost-config, libboost-container-hash, libboost-core, libboost-move, libboost-mp11, libboost-predef, libboost-preprocessor, libboost-static-assert, libboost-throw-exception, libboost-tuple, libboost-type-traits |
reviews | +1 |
version | 1.81.0+1 |
---|---|
repository | https://pkg.cppget.org/1/legacy |
depends | 11; libboost-assert, libboost-config, libboost-container-hash, libboost-core, libboost-move, libboost-mp11, libboost-predef, libboost-preprocessor, libboost-throw-exception, libboost-tuple, libboost-type-traits |
reviews | +1 |
version | 1.78.0 |
---|---|
repository | https://pkg.cppget.org/1/legacy |
depends | 13; libboost-assert, libboost-config, libboost-container, libboost-container-hash, libboost-core, libboost-detail, libboost-move, libboost-predef, libboost-preprocessor, libboost-smart-ptr, libboost-throw-exception, libboost-tuple, libboost-type-traits |
reviews | +1 |