cannot delete a pointer to a function
You cannot use the delete operator on a pointer to a function.
Example
void (*pf)(); void func(); void main() { pf = func; delete pf; // error, pf points to a function }