TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ADAM MAJER
from: JONATHAN DE BOYNE POLLARD
date: 1998-02-04 16:06:00
subject: Darn Templates

 AM> template  class TLinkedList    
 AM> /*...*/
 AM> TLinkedList *List;     <- invalid use of tamplate !?!?!
Indeed.  You haven't provided a type for instantiating the template.  The 
particular template that you have chosen takes one template parameter, so you 
instantiate it with one argument.  For example:
        TLinkedList * LinkedListOfIntegers ;
        TLinkedList * LinkedListOfChars ;
 ¯ JdeBP ®
--- FleetStreet 1.19 NR
---------------
* Origin: JdeBP's point, using Squish (2:440/4.3)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.