Multidimensional array operator overloading

monarch_dodra monarchdodra at gmail.com
Mon Nov 19 13:55:50 PST 2012


On Monday, 19 November 2012 at 18:02:32 UTC, H. S. Teoh wrote:

> 2) Is opDollar supported for multidimensional arrays? I.e., 
> when you
> write arr[1..$, 2..$], the $ in each dimension can potentially 
> be
> different values (say you have a 2x3 array, so the first $ is 
> 2, and the
> second $ is 3)?

What Mike said.

However, complete support for $ is new, and only available in 
2.061 alpha. In the current public 2.060, you may get a link 
error.

Off topic: What is the release cycle of D? Seems like I've been 
on 2.060 forever.


More information about the Digitalmars-d mailing list