A possible solution for the opIndexXxxAssign morass

Lars T. Kyllingstad public at kyllingen.NOSPAMnet
Wed Oct 14 03:24:10 PDT 2009


Kagamin wrote:
> Robert Jacques Wrote:
> 
>> Also needed is an extension of the opDollar to return different values  
>> based on the index:
>> opDollar(size_t index);
> 
> Dollar is just a synonym for length, isn't it?


Yes, but if opIndex and opSlice take multiple indices (like in a matrix) 
opDollar needs a way to distinguish between the different dimensions.

-Lars



More information about the Digitalmars-d mailing list