All instances of class A will share the same instance of var
regardless. If we look at the draft C++ standard section 9.4.2
Static data members paragraph 1 says(emphasis mine):
A static data member is not part of the subobjects of a class. If a static data member is declared thread_local there is one copy of the member per thread. If a static data member is not declared thread_local there is one copy of the data member that is shared by all the objects of the class.
furthermore paragraph 2 says:
[...][ Note: Once the static data member has been defined, it exists even if no objects of its class have been created. [...]