Article View: gnu.g++.bug
Article #1092Your template bug
From: Mike Stump
Date: Fri, 06 Nov 1992 08:35
Date: Fri, 06 Nov 1992 08:35
32 lines
1424 bytes
1424 bytes
This problem has been fixed, and should not exist in the next release of gcc.
As to your other question, the only way for me to give you a positive
answer, is when we have a contract to deliver them. However, with
that said, we might be able to get them into the compiler within this
next year.
> Date: Sat, 22 Aug 92 12:35:28 -0400
> From: dov@ds20.dmi.stevens-tech.edu (Dov Kruger)
> Message-Id: <9208221635.AA01769@ds20.dmi.stevens-tech.edu>
> To: bug-gcc@prep.ai.mit.edu
> Nested classes result in a syntax error when the enclosing class is
> a template. DEC's cxx compiler successfully swallows this, and I
> can't find anything to indicate that it should be illegal, so I
> assume it's a bug. Thanks for a generally wonderful product. My
> only question is -- when will you have exceptions?
> template <class T> class A {
> public:
> T* _data;
> class Iter {
> T* _data;
> };
> };
> main()
> {
> A<int> x;
> A<int>::Iter y;
> }
Technical Details
Message-ID:
<9211060835.AA01779@cygnus.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!ogicse!hp-cv!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!mrsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!hp-cv!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!mrs From: mrs@cygnus.com (Mike Stump) Newsgroups: gnu.g++.bug Subject: Your template bug Message-ID: <9211060835.AA01779@cygnus.com> Date: 6 Nov 92 08:35:50 GMT Article-I.D.: cygnus.9211060835.AA01779 Sender: gnulists@ai.mit.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 32 Approved: bug-g++@prep.ai.mit.edu