A thought about garbage collection

jerro a at a.com
Wed Dec 19 16:40:09 PST 2012


> It would be fairly easy to build a library function(i.e. 
> Scope!T or InPlace!T) that uses emplace to store a class inside 
> of a wrapper struct.

There already is such function, std.typecons.scoped.


More information about the Digitalmars-d mailing list