New / delete "override" and "overload"

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" ...

+5
source share
1 answer

operator new operator delete . , . ++ (ยง3.7.3/2):

. (18.4.1). ++ . , (17.4.3.4).

operator new operator delete .

+7

All Articles