title: Default template arguments for function templates
body: <p>Why are default template arguments only allowed on class templates?  Why can't we define a default type in a member function template?  For example:</p>
  
  <pre><code>struct mycclass {
    template&lt;class T=int&gt;
    void mymember(T* vec) {
      // ...
    }
  };
  </code></pre>
  
  <p>Instead, C++ forces that default template arguments are only allowed on a class template.</p>