Re: [PATCH v2] c++: Fix CTAD for aggregates in template [PR95568]

2020-06-26 Thread Jason Merrill via Gcc-patches
On 6/25/20 5:37 PM, Marek Polacek wrote: On Wed, Jun 24, 2020 at 03:52:12PM -0400, Jason Merrill via Gcc-patches wrote: On 6/23/20 6:58 PM, Marek Polacek wrote: 95568 complains that CTAD for aggregates doesn't work within requires-clause and it turned out that it doesn't work when we try the de

Re: [PATCH v2] c++: Fix CTAD for aggregates in template [PR95568]

2020-06-25 Thread Marek Polacek via Gcc-patches
On Wed, Jun 24, 2020 at 03:52:12PM -0400, Jason Merrill via Gcc-patches wrote: > On 6/23/20 6:58 PM, Marek Polacek wrote: > > 95568 complains that CTAD for aggregates doesn't work within > > requires-clause and it turned out that it doesn't work when we try > > the deduction in a template. The rea