|
-
January 21st, 2004, 06:18 AM
#1
Template function
Hello there,
My application has several different kinds of linked lists, of which all are created dynamically using "new".
I wish to create a template function that will free up the memory when finished with the linked lists.
Is it possible to create a template function that will take different pointers to structures (ie, nodes). And what is the format for it??
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|