Re: [PATCH] c++: CTAD for class tmpl defined inside partial spec [PR104294]

2022-01-31 Thread Jason Merrill via Gcc-patches
On 1/31/22 11:14, Patrick Palka wrote: On Mon, Jan 31, 2022 at 11:07 AM Patrick Palka wrote: Here during deduction guide generation for the nested class template B::C, the computation of outer_targs yields the template arguments relative to the primary template for B (i.e. {char(int)}) but wha

Re: [PATCH] c++: CTAD for class tmpl defined inside partial spec [PR104294]

2022-01-31 Thread Patrick Palka via Gcc-patches
On Mon, Jan 31, 2022 at 11:07 AM Patrick Palka wrote: > > Here during deduction guide generation for the nested class template > B::C, the computation of outer_targs yields the template > arguments relative to the primary template for B (i.e. {char(int)}) > but what we really what is those relativ

[PATCH] c++: CTAD for class tmpl defined inside partial spec [PR104294]

2022-01-31 Thread Patrick Palka via Gcc-patches
Here during deduction guide generation for the nested class template B::C, the computation of outer_targs yields the template arguments relative to the primary template for B (i.e. {char(int)}) but what we really what is those relative to the enclosing scope, the partial specialization of B (i.e. {