Article View: gnu.g++.bug
Article #1164Your template bug
From: Dov Kruger
Date: Tue, 22 Dec 1992 06:51
Date: Tue, 22 Dec 1992 06:51
17 lines
752 bytes
752 bytes
As of 2.3.1, nested templates as per my example were still not working,
although there may be another way to get the compiler to accept it.
> template <class T> class A {
> public:
> T* _data;
> class Iter {
> T* _data;
> };
> };
> main()
> {
> A<int> x;
> A<int>::Iter y;
> }
Technical Details
Message-ID:
<9212221651.AA00560@ds20.dmi.stevens-tech.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ds20.dmi.stevens-tech.edu!dovReferences:
<9211060835.AA01779@cygnus.com>Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ds20.dmi.stevens-tech.edu!dov From: dov@ds20.dmi.stevens-tech.edu (Dov Kruger) Subject: Your template bug Message-ID: <9212221651.AA00560@ds20.dmi.stevens-tech.edu> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet References: <9211060835.AA01779@cygnus.com> Distribution: gnu Date: Tue, 22 Dec 1992 06:51:50 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 19