Re: [PATCH] c++: dependent bases and 'this' availability [PR103831]

2022-01-11 Thread Jason Merrill via Gcc-patches
On 12/28/21 10:08, Patrick Palka wrote: Here during satisfaction of B's associated constraints we're failing to reject the object-less call to the non-static member function A::size ultimately because satisfaction is performed in the (access) context of the class template B, which has a dependent

Re: [PATCH] c++: dependent bases and 'this' availability [PR103831]

2022-01-03 Thread Patrick Palka via Gcc-patches
On Tue, Dec 28, 2021 at 10:08 AM Patrick Palka wrote: > > Here during satisfaction of B's associated constraints we're failing to > reject the object-less call to the non-static member function A::size > ultimately because satisfaction is performed in the (access) context of > the class template B

[PATCH] c++: dependent bases and 'this' availability [PR103831]

2021-12-28 Thread Patrick Palka via Gcc-patches
Here during satisfaction of B's associated constraints we're failing to reject the object-less call to the non-static member function A::size ultimately because satisfaction is performed in the (access) context of the class template B, which has a dependent bases, and so the any_dependent_bases_p c