explicit specialization syntax
<p>Is it</p>

<pre><code>template &lt;typename T&gt;
void foo(T) {}

template &lt;&gt;
void foo(int) {}
</code></pre>

<p>explicit specialization or function overloading, and for the explicit initialization compiler want to see the following code?</p>

<pre><code>template &lt;typename T&gt;
void foo(T) {}

template &lt;&gt;
void foo&lt;int&gt;(int) {}
</code></pre>

<p>I think that standard accepts both of these:</p>

<p><strong>ISO/IEC 14882:2011</strong></p>

<blockquote>
<pre><code>14.7.3 Explicit specialization [temp.expl.spec]

1 ...

can be declared by a declaration introduced by template&lt;&gt;; that is:
explicit-specialization:
template &lt; &gt; declaration
</code></pre>
</blockquote>
