InterviewSolution
Saved Bookmarks
| 1. |
Is It Possible For A Member Function To Use Delete This? |
|
Answer» It is possible for a member function to use delete this but on certain conditions which are as follows:
The preceding points are applied in the cases where the this pointer BELONGS to the base class in the absence of the VIRTUAL destructor. It is possible for a member function to use delete this but on certain conditions which are as follows: The preceding points are applied in the cases where the this pointer belongs to the base class in the absence of the virtual destructor. |
|