[PATCH] Add unordered containers heterogeneous lookup

Jonathan Wakely jwakely@redhat.com
Wed Feb 3 11:24:10 GMT 2021


On 03/02/21 11:23 +0000, Jonathan Wakely wrote:
>On 25/01/21 19:21 +0100, François Dumont via Libstdc++ wrote:
>>I think I never got a clear answer that we'll wait for stage 1 to 
>>consider this patch so here is a ping.
>
>My concern with this patch is that it alters the existing code used
>for non-heterogeneous lookups in C++11/14/17. I think if we're going
>to do thatk, it needs to wait for stage 1.
>
>If the new C++20 code was added with new _M_find_before_node and

s/_M_find_before_node/_M_find_before_node_tr/

>_M_find_node_tr members (duplicating the existing code) then it would
>be safe to add now, because it wouldn't touch the stable C++11/14/17
>code.



More information about the Libstdc++ mailing list