multidimensional indexing/slicing docs?
    H. S. Teoh via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Wed Aug  6 12:16:57 PDT 2014
    
    
  
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.
T
-- 
Heuristics are bug-ridden by definition. If they didn't have bugs, they'd be algorithms.
    
    
More information about the Digitalmars-d-learn
mailing list