[libcxx-commits] [libcxx] [libc++] Optimize __hash_table copy constructors and assignment (PR #151951)

Alexander Kornienko via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 18 23:49:41 PDT 2025


alexfh wrote:

> @philnik777 Heads-up: We noticed this is causing errors when using `__gnu_cxx::hash_multiset`, `__gnu_cxx::hash_multimap` where the resulting container has duplicate entries. working on a repro.

It looks like the commit changed the common base of std::unordered_map / std::unordered_set (libcxx/include/__hash_table), but didn't update the __gnu_cxx containers (implemented in libcxx/include/ext/hash_map and libcxx/include/ext/hash_set) accordingly.

https://github.com/llvm/llvm-project/pull/151951


More information about the libcxx-commits mailing list