title: Print the value of template
body: <p>So, I just want to make this fucntion:</p>
  
  <pre><code>template&lt;typename T&gt;
  void printWithEndl(T)
  {
      std::cout &lt;&lt; T &lt;&lt; "\n";
  }
  </code></pre>
  
  <p>but I got this error on the line:</p>
  
  <pre><code>std::cout &lt;&lt; T &lt;&lt; "\n";
  </code></pre>
  
  <p>I wounder how can I cout the value of T.</p>
  
  <p>Thanks in advance.</p>