On Fri, 23 Feb 2001, Angus Leeming wrote:

> > What a weird way to ask a question !
> 
> My apologies.

no problem, I would smiley but I know what day it is.

> > Doesn't the "pre" delete the FormSplash object itself rather than the 
> dialog_.
> > It's the equivalent of "delete this" if the CloseCB() was a non-static
> > member of FormSplash
> 
> No. pre is a pointer to a FormSplash not a FormSplash itself

I don't get it. delete takes a pointer.

Object * a = new Object();
...
delete a;

What's different here ?

john

-- 
"Anyone who says you can have a lot of widely dispersed people hack away on
 a complicated piece of code and avoid total anarchy has never managed a 
 software project."
        - Andy Tanenbaum

Reply via email to