Re: [PATCH] c++: alias_ctad_tweaks and constrained dguide [PR95486]

2020-07-29 Thread Patrick Palka via Gcc-patches
On Wed, 29 Jul 2020, Jason Merrill wrote: > On 7/24/20 9:49 AM, Patrick Palka wrote: > > In the below testcase, we're ICEing from alias_ctad_tweaks ultimately > > because the implied deduction guide for X's user-defined constructor > > already has constraints associated with it. We then carry ove

Re: [PATCH] c++: alias_ctad_tweaks and constrained dguide [PR95486]

2020-07-29 Thread Jason Merrill via Gcc-patches
On 7/24/20 9:49 AM, Patrick Palka wrote: In the below testcase, we're ICEing from alias_ctad_tweaks ultimately because the implied deduction guide for X's user-defined constructor already has constraints associated with it. We then carry over these constraints to 'fprime', the overlying deductio

[PATCH] c++: alias_ctad_tweaks and constrained dguide [PR95486]

2020-07-24 Thread Patrick Palka via Gcc-patches
In the below testcase, we're ICEing from alias_ctad_tweaks ultimately because the implied deduction guide for X's user-defined constructor already has constraints associated with it. We then carry over these constraints to 'fprime', the overlying deduction guide for the alias template Y, via tsubs