Do you have loops in your program? In your program, do you have piece of code which runs within a loop; and that code actually assigns NULL to the object or anything like that?
How are you determining that destructor is being called twice?
Qi
Originally posted by Aniruddh
Why does delete *this calls destructor twice.
How do we solve this problem
Comment