This is the mail archive of the gcc@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: Why this change? It could break a lot of code


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?  

Yes.

> 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
members).


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