[PATCH][Hashtable 5/6] Remove H1/H2 template parameters

Jonathan Wakely jwakely@redhat.com
Thu Aug 6 09:27:39 GMT 2020


On 06/08/20 08:35 +0200, François Dumont wrote:
>On 17/07/20 1:35 pm, Jonathan Wakely wrote:
>>I really like the general idea of getting rid of some of the
>>complexity and not supporting infinite customization. But we can do
>>that without changing mangled names of the _Hashtable specialiations.
>>
>>
>I didn't thought we need to keep abi compatibility for extensions.

These aren't extensions though, they're part of std::unordered_map
etc.

Just because something like _Vector_base is an internal type rather
than something defined in the standard doesn't mean we can just change
its ABI, because that would change the ABI of std::vector. It the same
here.

Changing _Hashtable affects all users of std::unordered_map etc.




More information about the Gcc-patches mailing list