Delay allocating class instance in stack.
rikki cattermole via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Mar 21 01:12:36 PDT 2017
You probably want[0] to allocate a class on the stack instead of doing this.
[0] http://dlang.org/phobos/std_typecons.html#.scoped
More information about the Digitalmars-d-learn
mailing list