Creating a pointer array

Adam D. Ruppe destructionator at gmail.com
Wed Aug 19 13:08:37 UTC 2020


On Wednesday, 19 August 2020 at 13:03:54 UTC, data pulverizer 
wrote:
> How do you create an array of pointers in D? I tried something 
> like
>
> ```
> double* []y;
> ```

I'd write it

double*[] y;

but yeah that's it.

> Error: only one index allowed to index double[]

That must be at the usage point where you prolly just need parens 
or something.


More information about the Digitalmars-d-learn mailing list