This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Template help
- To: "Liu WS" <louispp at hotmail dot com>
- Subject: Re: Template help
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 11 Nov 2000 07:11:04 -0200
- Cc: gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <F109FopYC98Bi89Qtpf00001210@hotmail.com>
On Nov 11, 2000, "Liu WS" <louispp@hotmail.com> wrote:
> why i can not compile c++ code like this:
Because it's not valid C++.
Try this:
> test1.cpp:2: perhaps you want `typename T1::Type1' to make it a type
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me