What's the cause of the error with this C++ template code?
<p>This code results in a compile-time error:</p>

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

template &lt;unsigned short n&gt;
class Vector {
    public:
        std::vector&lt;float&gt; coords;

        Vector();
        Vector(std::vector&lt;float&gt; crds);


        float distanceFrom(Vector&lt;n&gt; v);

        template &lt;unsigned short m&gt;
        friend std::ostream&amp; operator &lt;&lt;(std::ostream&amp; out, const Vector&lt;m&gt;&amp; v);
};



    template &lt;unsigned short n&gt;
Vector&lt;n&gt;(vector&lt;float&gt; crds) {  // HERE IS ERRRO

}
</code></pre>

<p>Compile error:</p>

<pre><code>C:\CodeBlocks\kool\praks3\vector.h|29|error: expected ')' before '&lt;' token|
||=== Build finished: 1 errors, 0 warnings ===|
</code></pre>
