Re: [PATCH] Add unordered containers heterogeneous lookup

2021-02-09 Thread Jonathan Wakely via Gcc-patches
On 04/02/21 21:20 +0100, François Dumont wrote:     Considering that most of the code is already new code it doesn't look like a major tradeoff duplicate some more code.     So here is a new proposal with only new code. However I left the new few XXX_tr methods accessible even in C++11 because

Re: [PATCH] Add unordered containers heterogeneous lookup

2021-02-04 Thread François Dumont via Gcc-patches
    Considering that most of the code is already new code it doesn't look like a major tradeoff duplicate some more code.     So here is a new proposal with only new code. However I left the new few XXX_tr methods accessible even in C++11 because I'll use them to propose a fix for PR 98066 whe

Re: [PATCH] Add unordered containers heterogeneous lookup

2021-02-03 Thread Jonathan Wakely via Gcc-patches
On 03/02/21 11:23 +, 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-het

Re: [PATCH] Add unordered containers heterogeneous lookup

2021-02-03 Thread Jonathan Wakely via Gcc-patches
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: [PATCH] Add unordered containers heterogeneous lookup

2021-01-25 Thread François Dumont via Gcc-patches
I think I never got a clear answer that we'll wait for stage 1 to consider this patch so here is a ping. On 01/12/20 8:19 am, François Dumont wrote: Let me know if I need to reference a specific paper or any other Standard reference here. Maybe P1690R1 I used here ? I tried to allow the same

[PATCH] Add unordered containers heterogeneous lookup

2020-11-30 Thread François Dumont via Gcc-patches
Let me know if I need to reference a specific paper or any other Standard reference here. Maybe P1690R1 I used here ? I tried to allow the same partition trick you can have on ordered containers (see Partition in tests) even if here elements are not ordered so I aren't sure there can be any us