templated overload of opAssign

frame frame86 at live.com
Mon Apr 5 05:22:22 UTC 2021


On Sunday, 4 April 2021 at 18:05:04 UTC, tsbockman wrote:

>
> Thus, the solution is to use an explicit `delegate` instead of 
> `lazy`:


Yes, I forgot to mention that.
Could you please explain why you set 'scope' here? Isn't it 
wanted to keep references here?



More information about the Digitalmars-d-learn mailing list