Re: [PATCH] c++: constrained partial spec forward decl [PR96363]

2022-05-26 Thread Jason Merrill via Gcc-patches
On 5/25/22 13:24, Patrick Palka wrote: Here during cp_parser_single_declaration for #2, we were calling associate_classtype_constraints for TPL (the primary template type) before maybe_process_partial_specialization could get a chance to notice that we're in fact declaring a distinct constrained

[PATCH] c++: constrained partial spec forward decl [PR96363]

2022-05-25 Thread Patrick Palka via Gcc-patches
Here during cp_parser_single_declaration for #2, we were calling associate_classtype_constraints for TPL (the primary template type) before maybe_process_partial_specialization could get a chance to notice that we're in fact declaring a distinct constrained partial spec and not redeclaring the