Boost logo

Boost :

From: Jesse Jones (jejones_at_[hidden])
Date: 2000-12-05 20:09:47


>> Definately sounds like a "delete this" case to me. If the button is
>> destroyed during the "emit" you could have a lot more problems than
>> just the function object going away while it's running on the stack.
>
>GUI programming seems to encourage "delete this". Don't ask me why!
>But no you don't need to actually delete to get things winding back and
>doing assignment of things on the stack.

Of course the easy way to handle this is to post a command to do the delete
when it's safe...

  -- Jesse


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk