title: How do I explicitly instantiate a template function?
body: <p>I have a template function with one argument.
  I have to instantiate that function without calling that function means explicitly I have to instantiate.</p>
  
  <p>I have this function:</p>
  
  <pre><code>template &lt;class T&gt; int function_name(T a) {}
  </code></pre>
  
  <p>I instantiated that function like this:</p>
  
  <pre><code>template int function_name&lt;int&gt;(int);
  </code></pre>
  
  <p>But I got the following errors:</p>
  
  <pre><code>error: expected primary-expression before 'template'
  error: expected `;' before 'template'
  </code></pre>