title: use of class template requires argument list
body: <p>So to start off, this is my vector class that I'm creating that basically functions like the standard library vector. We are now trying to make it a class template.</p>
  
  <p>I've looked at a few examples of people struggling with this error, but I feel like the way I am declaring my function is just fine so I can't see the problem. Here are my declarations,</p>
  
  <pre><code>template &lt;typename T&gt;
  class MyVector
  {
  public:
  const MyVector&amp; operator=(const MyVector&amp;);
  ...
  }
  </code></pre>
  
  <p>The implementation code.</p>
  
  <pre><code>template &lt;typename T&gt;
  MyVector&lt;T&gt;::MyVector(const MyVector&amp; b)
  {
  //set the vcapacity/vsize equal to the object passed to setup for a new deep copy
  vcapacity = b.vcapacity;
  vsize = b.vsize;
  
  //allocate space for a new varray that is the copy
  varray = new T[vcapacity];
  
  //copy the data into the new array
  for (int i = 0; i &lt; vsize; i++)
  {
      this-&gt;varray[i] = b.varray[i];
  }
  }
  </code></pre>
  
  <p>So I am basically getting the 2 errors which I assume are referring to the same thing. The first pointing to my first line of implementation after the template line saying "use of class template requires argument list", and the second pointing to the end of the implementation code stating, "unable to match function definition to an existing declaration".</p>
  
  <p>Any ideas?</p>