On Thursday, 13 June 2019 at 16:08:52 UTC, Mike wrote:
or nothing of that at all because the garbage collecter collects it, if the reference to Foo is set to null?
That. [The init loop can be shortened to `foreach (ref b; array) b = new Block();`.]
kinke via Digitalmars-d-learn Thu, 13 Jun 2019 11:55:44 -0700
On Thursday, 13 June 2019 at 16:08:52 UTC, Mike wrote:
or nothing of that at all because the garbage collecter collects it, if the reference to Foo is set to null?
That. [The init loop can be shortened to `foreach (ref b; array) b = new Block();`.]