Quote:
Originally posted by rafe
> I wouldn't instantiate it in a loop though.
newbie's confused sorry. I haven't really left the scope of the outer loop where I declared the object. This thing is still happily instantiating in the loop like mad.
So I have on the stack my class definition OK. However the object does have some pointers to dynamic data associated with it. what happens to the dynamic data from previous instances? Still there?
To understand what happens take a look at this trivial example: