I always thought ...
- redefinition means redefinition of a function (of the same signature) in the base class, whereas
- overload means implementing a function with the same name but with a different signature
... and got confused because sometimes people just don't care about this difference.
Regarding the new / delete: overloaded or overridden?
Idea:
- implementation of the new / delete operator in the class = overload
- override global new / delete = override
Any corrections / suggestions / objections? And feel free to mark the question "hairstyle" ...
source
share