|
|
|
|
|
by rramadass
1536 days ago
|
|
>Go refactor the signature 2 or 3 virtual functions with let us say a couple parameters each in two classes and 4 or 5 derived classes, one two levels deep (this is real code what I am talking about) and do it with and without override. This is just trivial and does not really support your arguments. The way it was done before was to use the "virtual" prefix keyword for virtual functions across the entire class hierarchy. Merely a discipline which was enforced religiously via coding guidelines; it gave the programmer the needed cue while the compiler doesn't care. You then did a Search and Replace as needed. |
|
Seems suspicious to me that you claim to have used C++ for long. You do not understand even how virtual functions worked in the language.