title: Function Templates vs. Auto Keyword
body: <p>Can the <code>auto</code> keyword in C++11 replace function templates and specializations?  If yes, what are the advantages of using template functions and specializations over simply typing a function parameter as <code>auto</code>?</p>
  
  <pre><code>template &lt;typename T&gt;
  void myFunction(T &amp;arg)
  {
      // ~
  }
  </code></pre>
  
  <p>vs.</p>
  
  <pre><code>void myFunction(auto &amp;arg)
  {
      // ~
  }
  </code></pre>