title: Initialize an static member in an fully specialized class template
body: <p>I can't seem to init an static member inside an fully specialized class template!</p>
  
  <p>I'm trying to do the following:</p>
  
  <pre><code>template&lt;typename Type&gt;
  class X
  {
  };
  
  template&lt;&gt;
  class X&lt;int&gt;
  {                                       
      public:
  
      static int Value;   
  }
  </code></pre>
  
  <p>But i can't seem to init the static member, i tried everything like:</p>
  
  <pre><code>template&lt;&gt;
  int X&lt;int&gt;::Value = 0;
  </code></pre>
  
  <p>It doesn't compile, so any pointers on how to actually do this would be nice ;) </p>
  
  <p><strong>Edit: the answer beneath is correct but you also need to place the init in the .cpp file and not in the header file.</strong></p>
  
  <p>Thanks for your time,
  Richard.</p>