boostorg / container_hash

Generic hash function for STL style unordered containers
https://boost.org/libs/container_hash
32 stars 38 forks source link

Plans to release development version #26

Closed andrewcorrigan closed 2 years ago

andrewcorrigan commented 2 years ago

I'm getting this error in Boost 1.80.0 with Clang/Libc++-15

/boost/boost/container_hash/hash.hpp:132:33: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
        struct hash_base : std::unary_function<T, std::size_t> {};

It looks like this is already fixed here and has been since 2019, 504857692148d52afe7110bcb96cf837b0ced9d7 and the current version doesn't even have any std::unary_function code, even with a guard. Is there a timeline for the version of container_hash in this repo to merged into the released version of Boost?

pdimov commented 2 years ago

This commit is part of 1.80.

pdimov commented 2 years ago

The commit that fixes the libc++15 issue is https://github.com/boostorg/config/commit/f0af4a9184457939b89110795ae2d293582c5f66, and it's not in 1.80. It should be in 1.81.

andrewcorrigan commented 2 years ago

Excellent, thank you for the quick response and clarification!

Closing...