title: C++ static template member, one instance for each template type?
body: <p>Usually static members/objects of one class are the same for each instance of the class having the static member/object. Anyways what about if the static object is part of a template class and also depends on the template argument? For example, like this:</p>
  
  <pre><code>template&lt;class T&gt;
  class A{
  public:
    static myObject&lt;T&gt; obj;
  }
  </code></pre>
  
  <p>If I would cast one object of A as <code>int</code> and another one as <code>float</code>, I guess there would be two <code>obj</code>, one for each type?</p>
  
  <p>If I would create multiple objects of A as type <code>int</code> and multiple <code>float</code>s, would it still be two <code>obj</code> instances, since I am only using two different types?</p>