forked from boostorg/container_hash
83a874ed49f55336a95d8e264d36eee431cd949a
In the last release I added explicit support for `vector<bool>` which wasn't working with libc++ because the iterator's `operator*` returned a proxy reference type. Other implementations return a `bool` for const iterators, so they happened to work okay. This solves the problem in a more general purpose way by instantiating `hash_combine` for the iterator `value_type`. So the type returned by `operator*` will be implicitly casted to the correct type.
Description
Generic hash function for STL style unordered containers
2.6 MiB
Languages
C++
98.3%
CMake
1.5%
HTML
0.2%