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]

Re: template <class T> myList<T>::myList() fails


On Sep  1, 1999, kochanek@iib.tu-darmstadt.de (Adam Kochanek) wrote:

> template <class T>
> myList<T>::myList()

If this is all of your code, it's certainly invalid C++, as the class
template must be defined before you can define its members.
Otherwise, please read http://egcs.cygnus.com/faq.html#bugreport

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them

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