What is the difference between a[x][y] and a[x,y]?

Robert M. Münch robert.muench at saphirion.com
Wed Jan 8 08:09:23 UTC 2020


On 2020-01-07 19:06:09 +0000, H. S. Teoh said:

> It's up to you how to implement all of this, of course. The language
> itself doesn't ship a built-in type that implements this, but it does
> provide the scaffolding for you to build a custom multi-dimensional
> array type.

Hi, thanks for your extensive answer! Helped a lot...

And the above paraghraph brings it to the core.

How can this be added to the D docs? I think adding such clear "this is 
the idea how you should use it" intros would help a lot to see the 
world from a d-ish perspective.

-- 
Robert M. Münch
http://www.saphirion.com
smarter | better | faster



More information about the Digitalmars-d-learn mailing list