On 09/09/2014 09:56 PM, H. S. Teoh via Digitalmars-d-learn wrote:

> Kenji's PR that
> implements multidimensional slicing; in his design, he specifically
> relegates opSlice to returning index range proxy objects

That's exactly how it finally made sense to me. :)

> By extension, therefore, it follows that implementing slice operations
> of the form A[] simply involves invoking A.opIndex() with no arguments.

I am currently writing an update to my Operator Overloading chapter to explain all of that.

Ali

Reply via email to