TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CAMERON CLARK
from: THOMAS MAEDER
date: 1997-05-30 17:00:00
subject: template hell?

CC>     template DLList::method() {
CC>     }
CC>     This is how I defined each method.
CC>     template
CC>     class DLList {
CC>          Node* head;
CC>          Node* cur;
CC>          method(dtype item);
CC>     }
CC>     This is how I did the headers. Any ideas?
The declaration and definition of method don't match. Try
template DLList::method(dtype item) {
}
Thomas
---
 þ MM 1.0 #0113 þ This tagline invisible to all whose I.Q. exceeds mine.
---------------
* Origin: McMeier & Son BBS (2:301/138)

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™.