title: Error: 'template<class T> class Two' used without template parameters
body: <p>Hey so I'm trying to compile:</p>
  
  <pre><code>//ASSIGNMENT
  #include &lt;iostream&gt;
  #include &lt;string&gt;
  
  using namespace std;
  
  template &lt;class T&gt;
  class Two { 
  
      private: T x,y;
      public: 
  
          Two (T a, T b); 
          friend void Show (Two p);
          ~Two();
  
  };
  //ASSIGNMENT
  
  
  template &lt;class T&gt;
  Two::Two (T a, T b){
      x = a;
      y = b;
  }
  
  friend void Two::Show(Two p){
      cout &lt;&lt; p.x &lt;&lt; " and " &lt;&lt; p.y &lt;&lt; endl;
  }
  
  int main () {
      Two&lt;int&gt; class2(2,3);
      Show(class2);
  }
  </code></pre>
  
  <p>The assignment was to define the members of the class (in the //ASSIGNMENT tags). I don't know why it won't compile... Thanks!</p>