This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [var-template] Accept variable template declaration
- From: Jason Merrill <jason at redhat dot com>
- To: Gabriel Dos Reis <gdr at axiomatics dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 31 Mar 2013 01:13:16 -0400
- Subject: Re: [var-template] Accept variable template declaration
- References: <87ip49et6x dot fsf at euclid dot axiomatics dot org> <515638D3 dot 8010404 at redhat dot com> <87hajt61f7 dot fsf at euclid dot axiomatics dot org>
On 03/29/2013 10:56 PM, Gabriel Dos Reis wrote:
int wanted = num_template_headers_for_class (ctx);
I think you want to add one to wanted if decl is a primary template.
Jason