title: static template functions in a class
body: <p>How do I make the following function inside a class and then access this function from main?
  My class is just a collection of a bunch of static functions. </p>
  
  <pre><code>template&lt;typename T&gt; double foo(vector&lt;T&gt; arr);
  </code></pre>