why virtual functions can't be static?
why virtual functions can't be static?
"Service of the poor and destitutes is the service of the God"
Normative Changes to ISO/IEC 9899:1990 in Technical Corrigendum 1
Incompatibilities Between ISO C and ISO C++
Because static functions aren't inherited. They're associated with classes, not objects. virtual is associated with calling member functions from pointers to objects.
Is that the only reasonOriginally Posted by Dante Shamest
"Service of the poor and destitutes is the service of the God"
Normative Changes to ISO/IEC 9899:1990 in Technical Corrigendum 1
Incompatibilities Between ISO C and ISO C++