I have a simple container :
template list { public: struct node { nodeType info; node* next;
You need to tell the compiler that node is a type using the keyword typename.Otherwise it will think node as a static variable in class list. Add typename whenever you use node as a type in your implementation of list.
node
typename
static
class list