How to init immutable static array?

Miguel L via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 18 00:56:53 PDT 2017


On Tuesday, 18 July 2017 at 07:31:22 UTC, Era Scarecrow wrote:
> On Tuesday, 18 July 2017 at 07:30:30 UTC, Era Scarecrow wrote:
>>       my_array[i]=some calculations(based on constants and n)
>
> i meant:     tmp[i]=some calculations(based on constants and n)

That does work, thanks.


More information about the Digitalmars-d-learn mailing list