On Friday, 4 June 2021 at 11:27:05 UTC, seany wrote:
In my untrained eye, this seems haphazard. One requires the use of the new keyword
It doesn't. T[] a; just works. it is an array of length 0.
Adam D. Ruppe via Digitalmars-d-learn Fri, 04 Jun 2021 04:30:52 -0700
On Friday, 4 June 2021 at 11:27:05 UTC, seany wrote:
In my untrained eye, this seems haphazard. One requires the use of the new keyword
It doesn't. T[] a; just works. it is an array of length 0.