auto arr = [1, 2, 3] should be a static array, not a GC allocated array

welkam wwwelkam at gmail.com
Sat Jul 16 22:44:07 UTC 2022


On Thursday, 14 July 2022 at 13:14:59 UTC, ryuukk_ wrote:
> Also why it is GC allocated without requiring ``new``?

Its easier to write average code without always thinking about 
allocations. Its optimized for average coder.


More information about the Digitalmars-d mailing list