RAII is misleading

duff via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 24 10:22:08 PST 2015


On Tuesday, 24 November 2015 at 17:03:47 UTC, bitwise wrote:
> Then, during recursive serialization, if you found an object 
> which was already in the table, you wouldn't serialize it again.

But this doesn't give the guarentee that the real citizen who 
responsible to tell the client "hey i've got the ref" can do it. 
With RC, the real owner may not know that his resource is stolen 
by a children.




More information about the Digitalmars-d mailing list