Double template<> statements
<p>There is such function definition:</p>

<pre><code>template&lt;&gt;
template&lt;&gt;
void object::test&lt;1&gt;()
{
}
</code></pre>

<p>What does it mean that there are double template&lt;>?</p>

<p>EDIT:</p>

<p>I extracted code which is valid for this example:</p>

<pre><code>#include &lt;iostream&gt;

template &lt;class U&gt;
class A {

    template &lt;int n&gt;
    void test() {

    }
};

template &lt;class T&gt;
class B {
public:
    typedef A&lt;T&gt; object;
};

typedef B&lt;int&gt;::object object;

template&lt;&gt;
template&lt;&gt;
void object::test &lt; 1 &gt; () {
}

int main() {
    return 0;
} 
</code></pre>

<p>This code compiles under g++.</p>

<p>Source: <a href="http://tut-framework.sourceforge.net/doxygen/basic_2test__vector_8cpp-example.html">TUT test framework</a></p>
