arrays in DMD V2
Jesse Phillips via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Apr 19 09:26:52 PDT 2014
On Saturday, 19 April 2014 at 16:14:45 UTC, steven kladitis wrote:
> void main()
> {
>
> //int a0[];
> int[] a0;
> //int a1[][];
> int[][] a1;
> //string a2[][];
> string[][] a2;
> //string a3[][string];
> string[string] a3;
> // string[][string] a3;
> // possibly should be above for a3
> //string a4[][string][string];
> string[][string][string] a4;
> //string a4[string][string][string]; is this the same as
> above????
> //int a5[][string][string][string];
> int[][string][string][string] a5;
> //int a6[string][int][string][float];
> int[string][int][string][float] a6;
> //int a7[int][int][string];
> int[int][int][string] a7;
These are not the same [a3-a7], please double check what the
pragma prints for your types and what you have written here for
conversion.
More information about the Digitalmars-d-learn
mailing list