[PATCH] Hashtable refactoring and simplification
Jonathan Wakely
jwakely@redhat.com
Tue Oct 20 11:09:57 GMT 2020
On 15/10/20 19:31 +0200, François Dumont via Libstdc++ wrote:
>I'd like to integrate some of the refactoring I had to do as part of
>my work on support of custom pointers in unordered containers.
>
>Those are of course the abi compatible changes.
>
>Thanks to the changes on _Hash_node type definition I was able to get
>rid of _Hash_code_base partial specialization. I also removed the
>smaller _Hashtable_base::_Equal_hash_code helper type. For this one I
>wonder if you prefer to keep it in place of the new
>_S_equals/_S_node_equals overloads ?
No, I like your changes. It is a nice simpliciation.
OK for trunk, thanks.
More information about the Libstdc++
mailing list