home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.g++.bug
- Path: 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
-
- 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;
- > }
-
-
-