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.
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.