On Tuesday, 27 March 2018 at 02:35:23 UTC, Norm wrote:
What's the best way to do this in D?
I'd also add `@disable this();` and then a `static O make() { return O(theAllocator.make!int(99)); }`
than you construct it with that static make function.
Adam D. Ruppe via Digitalmars-d-learn Mon, 26 Mar 2018 19:46:28 -0700
On Tuesday, 27 March 2018 at 02:35:23 UTC, Norm wrote:
What's the best way to do this in D?
I'd also add `@disable this();` and then a `static O make() { return O(theAllocator.make!int(99)); }`
than you construct it with that static make function.