+ 1
Why do we need to store a null value in vTable for a pure virtual function?
3 Answers
+ 1
Thatâs to make it so you canât call on the function unless itâs defined else where.
0
if we can't create an object of a class which has pure virtual function, why do we need to store a null value in vTable, wasting memory?
0
Itâs a base for the inherited classes to use that method.