background: I have a linked list assignment to complete.
I have a node class:
and a linked list class, from which my question stems:Code:template <typename T>
class Node
{
...
};
I want my LinkedList class to work with Node<T> objects. I can't figure out the template syntax for the linked list class. How would I write this?Code:template <what goes here?>
class LinkedList
{
...
};
Thanks.