Re: [PATCH] c++: Variable template and template parameter pack [PR96218]

2020-08-03 Thread Jason Merrill via Gcc-patches
On 8/3/20 2:58 PM, Marek Polacek wrote: On Wed, Jul 29, 2020 at 05:56:56PM -0400, Jason Merrill via Gcc-patches wrote: On 7/16/20 11:06 AM, Marek Polacek wrote: This is DR 2032 which says that the restrictions regarding template parameter packs and default arguments apply to variable templates

Re: [PATCH] c++: Variable template and template parameter pack [PR96218]

2020-08-03 Thread Marek Polacek via Gcc-patches
On Wed, Jul 29, 2020 at 05:56:56PM -0400, Jason Merrill via Gcc-patches wrote: > On 7/16/20 11:06 AM, Marek Polacek wrote: > > This is DR 2032 which says that the restrictions regarding template > > parameter packs and default arguments apply to variable templates as > > well, but we weren't detect

Re: [PATCH] c++: Variable template and template parameter pack [PR96218]

2020-07-29 Thread Jason Merrill via Gcc-patches
On 7/16/20 11:06 AM, Marek Polacek wrote: This is DR 2032 which says that the restrictions regarding template parameter packs and default arguments apply to variable templates as well, but we weren't detecting that. Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? gcc/cp/ChangeLog:

[PATCH] c++: Variable template and template parameter pack [PR96218]

2020-07-16 Thread Marek Polacek via Gcc-patches
This is DR 2032 which says that the restrictions regarding template parameter packs and default arguments apply to variable templates as well, but we weren't detecting that. Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? gcc/cp/ChangeLog: DR 2032 PR c++/96218