Since the OP specifically requested a quote from the standard, here is my answer which includes the relevant quote from the standard.
Each specialization will have it's own copy of myvar
which makes sense since each is it's own distinct class. The C++ draft standard in section 14.7
Template instantiation and specialization paragraph 6 says(emphasis mine):
Each class template specialization instantiated 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 ]