[C++ PATCH] Improve enum handling
Jason Merrill
jason@redhat.com
Thu Jan 9 03:33:00 GMT 2003
On Wed, 8 Jan 2003 19:05:36 -0800, Devang Patel <dpatel@apple.com> wrote:
> On Wednesday, January 8, 2003, at 04:36 PM, Jason Merrill wrote:
>
>> I would think that you could also defer setting the type of the enumerator
>> values until template instantiation time; rather than move it into the big
>> loop, just swap it with the if (processing_template_decl) bit.
>
> It did not work. I tried to delay it until instantiating enum in
> tsubst_enum().
> I will continue to explore it, meanwhile OK to commit this ?
No, let's wait for a complete fix.
Thanks,
Jason
More information about the Gcc-patches
mailing list