Michel Fortin wrote:
On 2010-08-09 21:20:31 -0400, Andrei Alexandrescu <[email protected]> said:

clear() would not subvert the type system.

Oh sure it does!

1. You acknowledged yourself one of my argument a few days ago that if the class has an immutable member it'll be wiped out. Someone else somewhere could have a reference to that member, and it's value will change which could cause bad things...

I forgot that argument again :o). I acknowledge being destroyed (which is strictly worse than cleared...)


Andrei

Reply via email to