multidimensional indexing/slicing docs?
H. S. Teoh via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Aug 7 13:22:40 PDT 2014
On Wed, Aug 06, 2014 at 12:16:57PM -0700, H. S. Teoh via Digitalmars-d-learn wrote:
> On Wed, Aug 06, 2014 at 11:21:51AM -0700, H. S. Teoh via Digitalmars-d-learn wrote:
> [...]
> > In any case, what Kenji did was basically to implement support for:
> >
> > arr[i,j,k,...]; // opIndex
> > arr[i,j,k,...] = ...; // opIndexAssign
> > arr[i1 .. i2, j1 .. j2, ...]; // opSlice
> > arr[i..$, j..$, k..$]; // opSlice / opDollar
> >
> > and perhaps one or two others.
>
> OK, found the pull that implemented this, which also has a description
> of what was implemented:
>
> https://github.com/D-Programming-Language/dmd/pull/443
>
> I'll see if I can cook up a PR to incorporate this into the language
> docs on dlang.org.
[...]
https://github.com/D-Programming-Language/dlang.org/pull/625
T
--
What is Matter, what is Mind? Never Mind, it doesn't Matter.
More information about the Digitalmars-d-learn
mailing list