|
delete has two steps:
(1) Call the destructor;
(2) release memory (that is, call operator delete, note: "operator delete", not the delete itself above)
For the first step, of course, it is also a function call, obeying all the rules of the function call, at least the dynamic binding of virtual functions and the static binding of non-virtual functions. |
|