confused about scope storage class

Kagamin spam at here.lot
Wed Jul 29 03:53:21 PDT 2009


Trass3r Wrote:

> So scope for class references guarantees that the destructor is called 
> upon leaving the scope (why isn't this done automatically?).

It will be disastrous to automatically delete all referenced objects.


More information about the Digitalmars-d-learn mailing list