Re: [PATCH] c++: Satisfaction caching of inherited ctor [PR94819]

2020-04-28 Thread Jason Merrill via Gcc-patches
On 4/28/20 4:13 PM, Patrick Palka wrote: As observed in PR94719, an inherited constructor for an instantiation of a constructor template confusingly has as its DECL_INHERITED_CTOR the TEMPLATE_DECL of the constructor template rather than the particular instantiation of the template. This means t

[PATCH] c++: Satisfaction caching of inherited ctor [PR94819]

2020-04-28 Thread Patrick Palka via Gcc-patches
As observed in PR94719, an inherited constructor for an instantiation of a constructor template confusingly has as its DECL_INHERITED_CTOR the TEMPLATE_DECL of the constructor template rather than the particular instantiation of the template. This means two inherited constructors for two different