title: Type '' could not be resolved, template type
body: <p>I am a bit rusty with programming and couldn't find a solution on the web. 
  I am creating a template class, and when using it I seem to be getting the error:</p>
  
  <p>Type 'temp' could not be resolved</p>
  
  <p>I have to tried to clean and rebuild, but it didn't help. Any advice is appreciated.</p>
  
  <pre><code>  /*
   * avlTREE.h
   *
   *  Created on: May 1, 2016
   *      Author: 
   */
  
  #ifndef AVLTREE_H_
  #define AVLTREE_H_
  #include &lt;cassert&gt;
  #include &lt;functional&gt;
  
  
  class avlTreeException{};
  class avlTreeExceptionInvalidInput : public avlTreeException{};
  
  template &lt;class temp&gt;
  class avlTREE{
  public:
      temp* ptr;
  }
  #endif /* AVLTREE_H_ */
  </code></pre>