Guest_imported
New member
- Jan 1, 1970
- 0
I have some trouble with static data members. Please have a look at two class definition below:
class A {
static CPtrList* m_pList;
...
}
class B : public A {
...
}
class C : public A {
...
}
Do all objects of classes B & C have the same instant of CPtrList?
class A {
static CPtrList* m_pList;
...
}
class B : public A {
...
}
class C : public A {
...
}
Do all objects of classes B & C have the same instant of CPtrList?