[Uml-devel] nasty problems with Umbrello
Andrew Sutton
asutton at cs.kent.edu
Thu Oct 30 08:28:20 UTC 2003
> A C++ question, is it safe to deconstruct the "this" object
> from within a method of the own class?
> Sounds risky to me...
sure is. refcounting classes do it - not smart pointers, but real refcounting
classes. my mof/uml implementation works that way (or at least it will soon).
you just have to be dead certain that you don't acess any members of the
object after you delete it :)
andy
More information about the umbrello-devel
mailing list