]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: fix C++17 regression in concept __heterogeneous_key
authorNathan Myers <ncm@cantrip.org>
Fri, 6 Feb 2026 08:09:39 +0000 (03:09 -0500)
committerNathan Myers <ncm@cantrip.org>
Fri, 6 Feb 2026 08:25:21 +0000 (03:25 -0500)
commit786e316de5c25a3fddeaa2003f6efb64fb5ab4a9
treed287b49e7c6630d441e2114dc094881baa8275b1
parentbd67b5a8c90194f7499981bbbc247fd45f8de6b9
libstdc++: fix C++17 regression in concept __heterogeneous_key

The commit 3f7905550483408a2c4c5096a1adc8d7e863eb12 defined a
concept using a name not defined in C++17. This is fixed by
using an older name.

https://gcc.gnu.org/pipermail/gcc-patches/2026-February/707814.html

libstdc++-v3/ChangeLog
* include/bits/stl_function.h (__heterogeneous_key): Use
C++17-defined remove_cvref<>::type instead.
libstdc++-v3/include/bits/stl_function.h