This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [var-template] Accept variable template declaration


On Sun, Mar 31, 2013 at 12:13 AM, Jason Merrill <jason@redhat.com> wrote:
>
> 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.

OK but I am a little bit dense here: why is that necessary?

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]