+ 1
History of the "virtual" keyword and its connection to dynamic binding in C++
Well, I know that the default state of the C++ compilers is to do static binding for the methods of a base class and its derived classes. However, once you want to activate the dynamic binding, you use the keyword "virtual" for that method in the base class. Considering the meaning of the keyword "virtual" in English, I am wondering that how this keyword is semantically connected to the concept of dynamic binding. Any historical review is welcomed.
1 Antwort