Feature/foa fast iteration
|3 months ago|
|.drone||10 months ago|
|.github/workflows||3 months ago|
|benchmark||4 months ago|
|doc||3 months ago|
|examples||6 years ago|
|include/boost||3 months ago|
|meta||2 years ago|
|test||3 months ago|
|.appveyor.yml||8 months ago|
|.codecov.yml||1 year ago|
|.drone.jsonnet||3 months ago|
|.editorconfig||6 years ago|
|.gitattributes||16 years ago|
|.gitignore||5 months ago|
|.travis.yml||5 years ago|
|CMakeLists.txt||12 months ago|
|LICENSE||1 year ago|
|README.md||1 year ago|
|_clang-format||6 years ago|
|index.html||1 year ago|
Part of collection of the Boost C++ Libraries.
For accessing data based on key lookup, the C++ standard library offers
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.
Distributed under the Boost Software License, Version 1.0.
- Ask questions
- Report bugs: Be sure to mention Boost version, platform and compiler you're using. A small compilable code sample to reproduce the problem is always good as well.
- Submit your patches as pull requests against develop branch. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0.
- Discussions about the library are held on the Boost developers mailing list. Be sure to read the discussion policy before posting and add the
[unordered]tag at the beginning of the subject line.