Non-freeing GC memory management

Gary Willoughby via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 18 02:33:29 PST 2015


On Wednesday, 18 November 2015 at 05:56:37 UTC, Minas Mina wrote:
> That's correct.
> But you don't have to do it manually though, as you can always 
> wrap your object inside a Unique!T.
>
> http://dlang.org/phobos/std_typecons.html#.Unique

or scoped:

http://dlang.org/phobos/std_typecons.html#.scoped


More information about the Digitalmars-d mailing list