title: Static data members of class templates
body: <pre><code>"A definition for a static data member may be provided in a namespace scope
   enclosing the definition of the static member's class template."
  </code></pre>
  
  <p>It means ...</p>
  
  <p>Is this correct.....</p>
  
  <pre><code>namespace N{
  template&lt;typename T&gt;class A{
  public: 
     static int x;
     static int fun();
   };
  
  }
  namespace N1{
  template&lt;class T&gt;int A&lt;T&gt;::x=10; }
  namespace N2{template&lt;class T&gt;int A&lt;T&gt;::fun(){return 10;} }
  int main(){  return 0; }
  </code></pre>
  
  <p>According to the statement...whether my program is correct...</p>
  
  <p>Otherwise...ca any one expalain this statement...With a program....
  IT is the point from ISO Standard c++.chapter 14.5.1.3, point 1</p>