title: What does "use of class template requires template argument list" mean?
body: <p>I am a newbie to templates so please excuse me for naive questions. I'm getting errors in this code:</p>
  
  <pre><code>template &lt;class t&gt;
  class a{
  public:
      int i;
      a(t&amp; ii):i(ii){}
  };
  
  
  int main()
  {
      a *a1(new a(3));
      cout&lt;&lt;a1.i;
  
      _getch();
  }
  </code></pre>
  
  <p>Compile errors:</p>
  
  <ol>
  <li><code>'a' : use of class template requires template argument list</code></li>
  <li><code>'a' : class has no constructors</code></li>
  </ol>