title: template function error
body: <p>I have function which takes in an parameter of a class called "Triple", and am returning the averge of 3 values of type float.</p>
  
  <pre><code>template &lt;typename ElemT&gt;
  float average(Triple ElemT&lt;float&gt; &amp;arg){
      float pos1 = arg.getElem(1);
      float pos2 = arg.getElem(2);
      float pos3 = arg.getElem(3);
  
      return ( (pos1+pos2+po3) /3 );
  }
  </code></pre>
  
  <p>when i try compiling this i get </p>
  
  <pre><code>q2b.cpp:32: error: template declaration of `float average'
  q2b.cpp:32: error: missing template arguments before "ElemT"
  </code></pre>
  
  <p>not quite sure what this means.</p>