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.