title: auto parameter type in functions
body: <p>I would like to know if the standard committee considered expanding the C++14 <code>auto</code> keyword to deduce function template parameter type, as it exists today in generic lambdas. (<a href="https://stackoverflow.com/a/17233649/893406">as can be seen nicely depicted in this answer</a>)</p>
  
  <p>Because it works in lambda functions, it should also work in any function. Of course it would be totally redundant with the classic syntax:</p>
  
  <pre><code>template&lt; typename T &gt;
  void f(T param);
  </code></pre>
  
  <p>But being able to write this, for the same result:</p>
  
  <pre><code>void f(auto param);
  </code></pre>
  
  <p>I think would allow for less clogged code (shorter neater cleaner) and allow a great consistency in this use case:</p>
  
  <pre><code>auto v = func1();
  f(v);
  </code></pre>
  
  <p>As you can see, we used the auto type deducer to declare <code>v</code>, but then we have to use either a hard-typed parameterized function f, or a templated f.<br>
  In combination with <code>auto</code> we should use <code>auto</code>, that would be more consistent.</p>
  
  <p>EDIT: <a href="https://stackoverflow.com/q/25879705/893406">this question</a> indeed asks effectively the same thing, but less directly. And has yet to get the answer that user657267 gives, which I reproduce and extend thereunder.</p>