title: Static Class Object in template c++
body: <pre><code>template&lt;int max_number&gt; class Test {
  
      private:
  
      // static object definition
      static Test Global;
  
      public:
  
     // constructor
      Test(int x){
      int y;
      y = x;
      }
      //static object definition inside template
      Test::Global(5);
  
      };
  </code></pre>
  
  <p>There is error on Test::Global(5); How can I declare class object instance in template? What signature should be?    </p>