Re: [PATCH] c++: Constrained inherited constructor template [PR94549]

2020-04-21 Thread Jason Merrill via Gcc-patches
On 4/20/20 4:38 PM, Patrick Palka wrote: A comment in satisfy_declaration constraints says /* For inherited constructors, consider the original declaration; it has the correct template information attached. */ d = strip_inheriting_ctors (d); But this comment seems to be false when t

[PATCH] c++: Constrained inherited constructor template [PR94549]

2020-04-20 Thread Patrick Palka via Gcc-patches
A comment in satisfy_declaration constraints says /* For inherited constructors, consider the original declaration; it has the correct template information attached. */ d = strip_inheriting_ctors (d); But this comment seems to be false when the inherited constructor points to an instanti