I have question related to virtual base class.
class a
{
public:
a();
~a();
};
class b: virtual public a
{
public:
b();
~b();
};
class c: virtual public a
{
public:
c();
~c();
};
class e: public b, c
{
public:
e();
~e();
};
Whenever I create an object of class e
, via which class the a
object will be created in e
?