DIP69 - Implement scope for escape proof references
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Fri Dec 12 16:07:31 PST 2014
On Saturday, 13 December 2014 at 00:06:18 UTC, Walter Bright
wrote:
> How not?
scope a = new Stuff();
scope b = a;
auto rc1 = RC(a);
auto rc2 = RC(b);
// Enjoy the free when it comes !
More information about the Digitalmars-d
mailing list