Defining "templated class" functions outside of a class
<p>I have this class</p>

<pre><code>template &lt;class T&gt; class dynamic_array
  {
</code></pre>

<p>and this function:</p>

<pre><code>void dynamic_array::randorder()
  {
  srand(time(NULL));
  int *ap;
  for(ap=array;k!=array+size;++k){*k=rand();} 
  }
</code></pre>

<p>The compiler is complaining about my function  - "not having template parameters".  How do I add this in?</p>
