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

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Sun Jul 17 07:25:18 UTC 2022


On Sunday, 17 July 2022 at 07:04:01 UTC, Salih Dincer wrote:
> I think DIP1039 should be opened for review in the next version 
> urgently.

Why urgent? Nothing prevents you from creating your own 
‘mkarray!char(1,2,3,4)’?

The focus should be on things that matters, more special syntax 
is not a net positive.

New features ought to be more generic, like deduction guides in 
C++.




More information about the Digitalmars-d mailing list