Hi
I came across a c++ class that looks like this
the method DestructMe(), is this something you would do???
I came across a c++ class that looks like this
Code:
class A
{
A() {}
~A() {}
void DestructMe()
{
delete this; //
}
};
the method DestructMe(), is this something you would do???