JDBP> AM> template class TLinkedList
JDBP> AM> /*...*/
JDBP> AM> TLinkedList *List; <- invalid use of tamplate !?!?!
JDBP>Indeed. You haven't provided a type for instantiating the template.
he
JDBP>particular template that you have chosen takes one template parameter,
o
JDBP>instantiate it with one argument. For example:
JDBP> TLinkedList * LinkedListOfIntegers ;
JDBP> TLinkedList * LinkedListOfChars ;
Now it works!! And I was wondering how the keck will the compiler know
what type of class I wanted from a template. the brackets do it,
i guess!!
* SLMR 2.1a * On a clear disk you can seek forever
--- FMail 0.92
---------------
* Origin: The Programmer's Oasis on FIDONET! (1:348/203)
|