title: "used without template parameters"
body: <p>I realize similar questions have been asked before, but I read a couple of those and still don't see where I'm going wrong.  When I simply write my class without separating the prototype from the definition, everything works fine.  The problem happens when I separate the prototype and definition as shown below:</p>
  
  <pre><code>template&lt;class T&gt; class VisitedSet { 
  public:
      VisitedSet(); 
      int getSize(); 
      void addSolution(const T&amp; soln); 
      void evaluate(); 
  private:
      vector&lt;T&gt; vec;
      int iteration;
  };
  </code></pre>
  
  <p>And as an example of a definition that gives me this error:</p>
  
  <pre><code>int VisitedSet::getSize() {
      return vec.size();
  </code></pre>
  
  <p>I've never made a templated class before, so please pardon me if the problem here is trivial.</p>