Why is opIndexAssign replaced by opSlice here?

Paul Backus snarwin at gmail.com
Mon Oct 18 04:11:18 UTC 2021

On Monday, 18 October 2021 at 03:42:35 UTC, Paul Backus wrote:
> My guess is that you got into this situation by trying to 
> follow the example in the spec's section on ["Slice Assignment 
> Operator Overloading"][2]. Unfortunately, that example is 
> incorrect.
> [2]: 
> https://dlang.org/spec/operatoroverloading.html#slice_assignment_operator


More information about the Digitalmars-d-learn mailing list