Re: [PATCH] c++: more constrained nested partial specialization

2020-06-03 Thread Jason Merrill via Gcc-patches
On 6/2/20 5:45 PM, Patrick Palka wrote: When checking that a constrained partial specialization is more constrained than the primary template, we pass only the innermost level of generic template arguments to strictly_subsumes. This leads to us doing a nonsensical substitution from normalize_con

[PATCH] c++: more constrained nested partial specialization

2020-06-02 Thread Patrick Palka via Gcc-patches
When checking that a constrained partial specialization is more constrained than the primary template, we pass only the innermost level of generic template arguments to strictly_subsumes. This leads to us doing a nonsensical substitution from normalize_concept_check if the full set of template arg