Re: [PATCH] c++: ignore explicit dguides during NTTP CTAD [PR101883]

2021-08-16 Thread Jason Merrill via Gcc-patches
On 8/16/21 3:06 PM, Patrick Palka wrote: Since (template) argument passing is a copy-initialization context, we mustn't consider explicit deduction guides when deducing a CTAD placeholder type of an NTTP. Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk/11? OK.

[PATCH] c++: ignore explicit dguides during NTTP CTAD [PR101883]

2021-08-16 Thread Patrick Palka via Gcc-patches
Since (template) argument passing is a copy-initialization context, we mustn't consider explicit deduction guides when deducing a CTAD placeholder type of an NTTP. Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk/11? PR c++/101883 gcc/cp/ChangeLog: