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
https://issues.dlang.org/show_bug.cgi?id=22417
https://github.com/dlang/dlang.org/pull/3113
    
    
More information about the Digitalmars-d-learn
mailing list