This is the mail archive of the
mailing list for the GCC project.
Re: Why this change? It could break a lot of code
- From: Joe Buck <jbuck at synopsys dot com>
- To: The Software Team <software at solmersa dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 28 Aug 2003 09:45:04 -0700
- Subject: Re: Why this change? It could break a lot of code
- References: <NDBBILGFOCHKDKKBBAIHIEIECFAA.email@example.com>
On Wed, Aug 27, 2003 at 06:24:06PM -0600, The Software Team wrote:
> The below change planned for Gcc 3.4, is really necessary?
> I think it would
> break a lot of code, and it goes against the usual practice in C++
No, such code will already break with many other C++ compilers (for
example, HP's compiler, which has enforced this rule for a long time).
The purpose of the rule is to allow templates to be completely parsed
without instantiating them, and to work correctly even when base classes
are specialized (in such a way that they might have a different set of