title: Invalid Use of template-name 'node' without an argument list
body: <p>node.h </p>
  
  <pre><code>#ifndef node_h
  #define node_h
  using namespace std;
  template&lt;class Type&gt; 
  struct node { 
      node (Type v) : next(nullptr),data(v){}
      Type data; 
      node *next;
  
      }; 
  
  #endif 
  </code></pre>
  
  <p>prioqueueS.cpp </p>
  
  <pre><code>#ifndef prioqueueS
  #define prioqueueS 
  #include "node.h"  
  using namespace std;    
  template &lt;class type&gt; 
  class PrioQueueS { 
  private: 
     node *head; 
     node *tail; 
  };
  #endif 
  </code></pre>
  
  <p>This is of course not all of my prioqueue class, but it is the part that I am having issues with, I have looked around on her for a clear answer but haven't found it. This is my error message: </p>
  
  <pre><code>error: invalid use of template-name 'node' without an argument list
  node *head;
  </code></pre>
  
  <p>If anyone could point me in the right direction for solving this problem that would very appreciated.</p>
  
  <p>EDIT: I realized I forgot the </p>
  
  <pre><code>node&lt;Type&gt; head; 
  </code></pre>
  
  <p>so I will probably just delete this</p>