http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53339
--- Comment #4 from Eugene Toder <eltoder at gmail dot com> 2012-05-14 04:41:19 UTC --- Created attachment 27395 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27395 POC for mainline Never mind, I was looking in tr1 instead of bits. Yes, it's a bit more tricky in mainline, because hashtable_policy.h now makes assumptions that _ExtractKey is always _Select1st. Is there a good reason for that? At least it feels strange to allow specifying arbitrary _ExtractKey if only _Select1st will actually compile. Anyway, a very minimal quick and dirty patch attached.