A possible solution for the opIndexXxxAssign morass

Robert Jacques sandford at jhu.edu
Wed Oct 14 07:36:01 PDT 2009


On Wed, 14 Oct 2009 06:11:22 -0400, Kagamin <spam at here.lot> 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?

User types can also override Dollar, though I don't remember off the top  
of my head how.



More information about the Digitalmars-d mailing list