Static member shared across template specializations
<p>Given the following class template, is there any way to have the field <code>a</code> to be the same across all specializations (i.e. <code>A&lt;int&gt;::a</code> is the same lvalue as <code>A&lt;std::string&gt;::a</code>)?</p>

<pre><code>template&lt;class T&gt;
class A final {
private:
    static int a;
};
</code></pre>