Re: [PATCH] c++: Function found via ADL when it should not [PR95074]

2020-05-12 Thread Nathan Sidwell
On 5/12/20 4:18 PM, Marek Polacek wrote: I noticed that we don't implement [basic.lookup.argdep]/3: quite correctly; it says "If X (the lookup set produced by unqualified lookup) contains -- a block-scope function declaration that is not a using-declaration [...] then Y (the lookup set produced

[PATCH] c++: Function found via ADL when it should not [PR95074]

2020-05-12 Thread Marek Polacek via Gcc-patches
I noticed that we don't implement [basic.lookup.argdep]/3: quite correctly; it says "If X (the lookup set produced by unqualified lookup) contains -- a block-scope function declaration that is not a using-declaration [...] then Y (the lookup set produced by ADL) is empty." but we were still