in reply to Re: Controlling the order of object destruction
in thread Controlling the order of object destruction
I am not sure (but could be wrong)
yes, I'm not sure either. I appreciate your input. I definitely want a reference in the docs if possible.
all that is guaranteed is that an object may (note that I didn't say will) only be destroyed when there is no longer a reference pointing to it.
yes, that's why I used braces in the second part of the code - to control the order of reference loss.