Re: [PATCH] c++: variadic class placeholder template deduction [PR97134]

2021-04-12 Thread Jason Merrill via Gcc-patches
On 4/9/21 5:25 PM, Patrick Palka wrote: do_class_deduction handles specially the case where we're deducing one placeholder from another equivalent one, but here the initializer passed to do_class_deduction is wrapped in an EXPR_PACK_EXPANSION (we're being called from unify during get_partial_spec

[PATCH] c++: variadic class placeholder template deduction [PR97134]

2021-04-09 Thread Patrick Palka via Gcc-patches
do_class_deduction handles specially the case where we're deducing one placeholder from another equivalent one, but here the initializer passed to do_class_deduction is wrapped in an EXPR_PACK_EXPANSION (we're being called from unify during get_partial_spec_bindings). This patch makes do_class_ded