title: How to establish trailing return type of lambda function that use template functions?
body: <p>How can I make trailing return type deduction in the following code snippet that uses a template function?
  Code works well as it is now, but I need to know if I can also add trailing return for the lambda function..</p>
  <pre><code>template&lt;class T&gt;
  T print(T a){
      cout &lt;&lt; a;
      return a;
  };
  
  int main()
  {
      auto print_int = [](int a)/*-&gt;How?*/{
          return print&lt;int&gt;(a);
      };
      print_int(4);
  }
  </code></pre>