On Wednesday, 22 August 2018 at 12:36:39 UTC, Simen Kjærås wrote:
Since both your opOpAssigns match equally, the compiler throws up. The solution is to add some sort of restriction:
This doesn't happen apparently: the operator has a left and a right side, even if both types define the operator, only one of them is on the left at each call.
It works now after Ali corrected my stupid syntax :)