Martin Nowak is officially MIA
Dennis
dkorpel at gmail.com
Sat Mar 29 00:17:08 UTC 2025
On Thursday, 27 March 2025 at 22:04:53 UTC, sfp wrote:
> A way around this problem that does work but isn't particularly
> satisfying is to kiss operator overloading goodbye. Just use
> `mul` for matrix multiplication. There's a good chance this is
> what I'll end up having to do.
As a workaround, have you considered making operator overload
members forward to one generic function?
```
auto opBinary(string op : "*", T)(T other) => mul(this, other);
```
That's O(n) boilerplate, as opposed to O(n^2) opBinary
implementations.
More information about the Digitalmars-d
mailing list