confused about scope storage class

Trass3r mrmocool at gmx.de
Tue Jul 28 19:46:11 PDT 2009


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

But what if scope is used with basic types like scope int x;
What's the effect?


More information about the Digitalmars-d-learn mailing list