Content deleted Content added
→Methods in C++: Nomenclature/tense/rewording. Replace "virtual method" by "virtual function". (I have never heard the term virtual method. It's certainly not used in the relevant texts.) |
|||
Line 132:
C++ Example:
<syntaxhighlight lang="cpp">bnbbnb
#include <iostream>
#include <memory>
Line 155:
inst1->iAm(); // calls Super::iAm()
inst2->iAm(); // calls Sub::iAm()
==See also==
|