N
Ninan
I am skipping a couple of steps in betweens, like inserting into a list
of ints and extracting from it. But this is the gist of what I am
trying to do
class A {
};
A *a = new A();
int b = (int )a;
delete (A *)b;
Is this equivalent to
delete a?
My code seems to work fine
of ints and extracting from it. But this is the gist of what I am
trying to do
class A {
};
A *a = new A();
int b = (int )a;
delete (A *)b;
Is this equivalent to
delete a?
My code seems to work fine