What's the secret to static class members
ag0aep6g via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Jun 29 10:24:37 PDT 2016
On 06/29/2016 07:00 PM, Guido wrote:
> On another topic, tuples seem to have a major problem as well.
>
> 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.
Works just fine for me, if I add the missing pieces (imports, main, set
i, put something in array_data).
Please post complete code, the compile command, the compiler version
you're using, and the error message you get. This applies to the
original post as well.
More information about the Digitalmars-d-learn
mailing list