Is it possible to delete an object from inside an object?
I know this is extremely ugly. I am just curious.

Something like this:

Code:
class Test {
  public:
void  reload();
};

void Test::reload() {
  Test *helper = this;
   delete this;
   helper = new Test();
}
This is probably all very wrong..I just wrote this code to illustrate what I mean.
But is it some way to do something similar?