What's the secret to static class members

FreeSlave via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 29 10:29:40 PDT 2016


On Wednesday, 29 June 2016 at 17:00:49 UTC, Guido wrote:
>
> Tuple!(float, float, float) test;
> Tuple!(float, float, float) [] array_data;
>
> test[0] = 1.0;  // works
> array_data[i][0] = 1.0; // doesn't work. Compile-time error, 
> probably because the language itself doesn't have a dedicated
>

It works. Could you post the minimal example and error message it 
produces?



More information about the Digitalmars-d-learn mailing list