]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Update guards on __heterogeneous_hash_key and __heterogeneous_tree_key
authorTomasz Kamiński <tkaminsk@redhat.com>
Fri, 6 Feb 2026 11:03:37 +0000 (12:03 +0100)
committerTomasz Kamiński <tkaminsk@redhat.com>
Fri, 6 Feb 2026 13:06:46 +0000 (14:06 +0100)
commit9b85fcc00ebe850f2ee2c19a0208534544b088a8
tree02dc5010b1713f3b91b9e68be77fa9cff108c6dc
parentc73831b61b506728d5fd3ac529a2012f2b1ceaeb
libstdc++: Update guards on __heterogeneous_hash_key and __heterogeneous_tree_key

The r16-7359-gae04c1afd1526a changed __heterogeneous_key to be
defined if __glibcxx_associative_heterogeneous_erasure, but missed
guards on derived __heterogeneous_hash_key and __heterogeneous_tree_key
concept.

libstdc++-v3/ChangeLog:

* include/bits/hashtable.h (std::__heterogeneous_hash_key)
[__glibcxx_associative_heterogeneous_erasure]: Changed guard.
* include/bits/stl_tree.h (std::__heterogeneous_tree_key)
[__glibcxx_associative_heterogeneous_erasure]: Likewise.
* include/bits/stl_function.h: Add comment with C++ version
for __glibcxx_associative_heterogeneous_erasure guard.
libstdc++-v3/include/bits/hashtable.h
libstdc++-v3/include/bits/stl_function.h
libstdc++-v3/include/bits/stl_tree.h