title: Argument list for class template is missing cpp
body: <p>Here is my header file for my <code>Array</code> class:</p>
  
  <pre><code>#ifndef ARRAY_H
  #define ARRAY_H
  
  template &lt;typename T&gt;
  class Array
  {
  private:
      T * data;
      int capacity;
      int isValidIndex(int index)const;
  public:
      ~Array();
      T &amp; operator [](int i);
      const T &amp; operator [](int i) const;
      int getCapacity()const;
      void resize(int newCap);
      Array &lt;T&gt;&amp; operator=(const Array&lt;T&gt; &amp; ref);
      Array(const Array&lt;T&gt; &amp; ref);
      Array();
      Array( initializer_list &lt;T&gt; list);
  };
  
  Array::~Array()
  {
  
  }
  
  int Array::isValidIndex(int index) const
  {
  
  }
  
  #endif
  </code></pre>
  
  <p>I am putting the definitions in the header file too, but my compiler is still giving me this error:</p>
  
  <blockquote>
    <p>Argument list for class template Array is missing</p>
  </blockquote>
  
  <p>What should I do to remove the error?</p>