Since the OP specifically requested a quote from the standard, here is my answer, which includes the corresponding quote from the standard.
Each specialization will have its own copy of myvar , which makes sense, since each of them is its own class. The draft C ++ standard in section 14.7 The description of the template instance and specialization in paragraph 6 says (emphasis added):
Each specialized class template specification created from a template has its own copy of any static members .
[ Example: template<class T> class X { static T s; }; template<class T> T X<T>::s = 0; X<int> aa; X<char*> bb;
X has a static member s of type int, and X has a static member s of type char *. -end example]
source share