On 24/12/2017 1:20 AM, Stijn wrote:[...]new uses GC. It has nothing to do with structs.
Oh I see, simply removing 'new' solves the problem. I've a C# background, so I hadn't thought of doing that. Thanks!
Stijn via Digitalmars-d-learn Sat, 23 Dec 2017 17:30:37 -0800
On 24/12/2017 1:20 AM, Stijn wrote:[...]new uses GC. It has nothing to do with structs.
Oh I see, simply removing 'new' solves the problem. I've a C# background, so I hadn't thought of doing that. Thanks!