When to opCall instead of opIndex and opSlice?

Nordlöw per.nordlow at gmail.com
Mon Oct 2 15:57:59 UTC 2017


Is implementing opCall(size_t) for structures such as array 
containers that already define opIndex and opSlice deprecated?

I can't find any documentation on the subject on when opCall 
should be defined to enable foreach (isIterable).


More information about the Digitalmars-d-learn mailing list