RAII is misleading

duff via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 24 07:14:15 PST 2015


I've discovered this when working on a kind of "fat pointer" 
system.

The "RAII" term is misleading, it tends to let people think that 
the one who initializes a resource is its owner.

The reality is different. The real owner of a resource is the one 
who see it "as valid" for the first time.


More information about the Digitalmars-d mailing list