Wrong hastable key_eq implementation

Paolo Carlini paolo.carlini@oracle.com
Wed Jan 4 21:57:00 GMT 2012


Hi,
>
> I was quite surprise to discover this regression introduced by recent 
> hashtable modifications.
>
> 2012-01-04  François Dumont <fdumont@gcc.gnu.org>
>
>         * include/bits/hashtable_policy.h (_Hashtable_base<>::_M_eq()):
>         protected rather than private, use it...
>         * include/bits/hashtable.h (_Hashtable<>::key_eq()): ... here.
>         * testsuite/23_containers/unordered_set/observers.cc: New.
>         * testsuite/23_containers/unordered_multiset/observers.cc: New.
>         * testsuite/23_containers/unordered_map/observers.cc: New.
>         * testsuite/23_containers/unordered_multimap/observers.cc: New.
>
>
> Tested under linux  x86_64, ok to commit ?
Ok, thanks.
> If so and not done at that time, can I do the ChangeLog roll ?
>
> I plan to do:
> svn mv ChangeLog ChangeLog-2011
> svn add ChangeLog
>
> and move all 2012 entries to newly created ChangeLog.
>
> Ok ?
Sure.

Thanks!
Paolo.

PS: to the list too: over the next week or so I will be 
traveling/vacationing, thus don't be surprised if I will not reply 
immediately to messages posted to the GCC mailing lists...



More information about the Libstdc++ mailing list