Re: [PATCH] c++: memfn lookup consistency in incomplete class context

2021-12-20 Thread Jason Merrill via Gcc-patches
On 12/20/21 12:46, Patrick Palka wrote: When instantiating a call to a member function of a class template, we repeat the member function lookup in order to obtain the corresponding partially instantiated functions. Within an incomplete-class context however, we need to be more careful when repe

[PATCH] c++: memfn lookup consistency in incomplete class context

2021-12-20 Thread Patrick Palka via Gcc-patches
When instantiating a call to a member function of a class template, we repeat the member function lookup in order to obtain the corresponding partially instantiated functions. Within an incomplete-class context however, we need to be more careful when repeating the lookup because we don't want to