[PATCH] PR c++/54875 - Error when instantiating an alias template that resolves to an enum
Dodji Seketeli
dodji@redhat.com
Fri Nov 16 14:10:00 GMT 2012
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
More information about the Gcc-patches
mailing list