I am trying to learn templates usage in c++. I have created a struct node which I am using in queue class implementation but I am getting compiler error:
Error\" expected type s
Remember, a template class without template parameters is meaningless to the compiler. Whenever you type qnode (after the initial declaration), you need to type its template parameters as well!