Re: [PATCH] c++: dependent operator expression lookup [PR51577]

2021-05-10 Thread Jason Merrill via Gcc-patches
On 5/9/21 10:33 PM, Patrick Palka wrote: This unconditionally enables the maybe_save_operator_binding mechanism for all function templates, so that when resolving a dependent operator expression from a function template we ignore later-declared namespace-scope bindings that weren't visible at

[PATCH] c++: dependent operator expression lookup [PR51577]

2021-05-09 Thread Patrick Palka via Gcc-patches
This unconditionally enables the maybe_save_operator_binding mechanism for all function templates, so that when resolving a dependent operator expression from a function template we ignore later-declared namespace-scope bindings that weren't visible at template definition time. This patch