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: [PATCH] PR c++/54875 - Error when instantiating an alias template that resolves to an enum


Jason Merrill <jason@redhat.com> writes:

> On 11/16/2012 07:43 AM, Dodji Seketeli wrote:
>> So I guess that condition should be changed to TREE_CODE
>> (template_type) == ENUMERAL_TYPE, to specifically detect the member
>> enum of a class template case.
>
> Why does that help?  What is template_type in the alias template case?

template_type is the template_type_parm T, which new name is AddConst.

-- 
		Dodji


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