+ 1
Does derived class inherits v pointer from base class and uses that only or it have its own v pointer also?
In inheritance hierarchy, does derived has it own v pointer or it uses inherited v pointer from base class and when we create object of derived class so compiler uses that inherited v pointer to point to derived class virtual table?
0 Antworten