Lecture
The delete operation function is of two types:
void operator delete (void *);
void operator delete (void *, size_t);
The second form includes an argument of type size_t, passed to the call to delete. It is passed to the compiler as the size of the object pointed to by p.
The overload feature of the delete operation is that global delete operations cannot be overloaded. They can be reloaded only in relation to the class.
Comments
To leave a comment
C ++ (C plus plus)
Terms: C ++ (C plus plus)