libboost-unordered/1.81.0+1

[brief]

Unordered associative containers

Part of collection of the Boost C++ Libraries.

For accessing data based on key lookup, the C++ standard library offers std::set, std::map, std::multiset and std::multimap. These are generally implemented using balanced binary trees so that lookup time has logarithmic complexity. That is generally okay, but in many cases a hash table can perform better, as accessing data has constant complexity, on average. The worst case complexity is linear, but that occurs rarely and with some care, can be avoided.

Also, the existing containers require a 'less than' comparison object to order their elements. For some data types this is impossible to implement or isn’t practical. In contrast, a hash table only needs an equality function and a hash function for the key.

With this in mind, unordered associative containers were added to the C++ standard. This is an implementation of the containers described in C++11, with some deviations from the standard in order to work with non-C++11 compilers and libraries.

License

Distributed under the Boost Software License, Version 1.0.

Properties

Build Status

Branch GH Actions Appveyor codecov.io Deps Docs Tests
master CI Build status codecov Deps Documentation Enter the Matrix
develop CI Build status codecov Deps Documentation Enter the Matrix

Directories

Name Purpose
doc documentation
example examples
include headers
test unit tests

More information

version 1.81.0+1
license BSL-1.0Boost Software License 1.0
repository https://pkg.cppget.org/1/legacy
download libboost-unordered-1.81.0+1.tar.gz
sha256 4c075f876d9d38e1069bbe502867827f8a20d11066304b18669a8ba38414cb18
project boost
url github.com/boostorg/unordered
doc-url www.boost.org/doc/libs/1_81_0/libs/unordered
package-url github.com/build2-packaging/boost
package-email packaging@build2.orgMailing list
topics C++Boost

Depends (11)

libboost-assert == 1.81.0
libboost-config == 1.81.0
libboost-container-hash == 1.81.0
libboost-core == 1.81.0
libboost-move == 1.81.0
libboost-mp11 == 1.81.0
libboost-predef == 1.81.0
libboost-preprocessor == 1.81.0
libboost-throw-exception == 1.81.0
libboost-tuple == 1.81.0
libboost-type-traits == 1.81.0

Reviews

fail 0
pass 1