When static members are inherited, are they static for the entire hierarchy, or just that class, i.e.:
class SomeClass { public: SomeClass(){total++;}
Yes, the derived class would contain the same static variable, i.e. - they would all contain 3 for total (assuming that total was initialized to 0 somewhere).