What is the difference between a[x][y] and a[x,y]?
H. S. Teoh
hsteoh at quickfur.ath.cx
Wed Jan 8 17:02:20 UTC 2020
On Wed, Jan 08, 2020 at 09:09:23AM +0100, Robert M. Münch via Digitalmars-d-learn wrote:
> 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.
[...]
File a bug against dlang.org, and maybe when I get some free time I'll
try to write something up.
T
--
Designer clothes: how to cover less by paying more.
More information about the Digitalmars-d-learn
mailing list