This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Improve enum handling
- From: Jason Merrill <jason at redhat dot com>
- To: Devang Patel <dpatel at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 08 Jan 2003 19:36:01 -0500
- Subject: Re: [C++ PATCH] Improve enum handling
- References: <D68679B2-2368-11D7-8628-0003935AAA26@apple.com>
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.
Jason