D
Diwa
In the below example, will d1 and d2 have
separate copies of "a" (which is static
in base class). Seems like not.
If not, then how do I have one static for
class d1 and one static for class d2.
some_class is populated by "class b"
------------------------------------------------------
class b
{
public:
static some_class a;
};
class d1 : public b { };
class d2: public b { };
separate copies of "a" (which is static
in base class). Seems like not.
If not, then how do I have one static for
class d1 and one static for class d2.
some_class is populated by "class b"
------------------------------------------------------
class b
{
public:
static some_class a;
};
class d1 : public b { };
class d2: public b { };