On Sat, 10 Dec 2011 12:18:31 +0200, Mehrdad <[email protected]> wrote:

... and another...

struct S(T, int N)
{ public auto opBinary(string op)(in S!(T, N) other) const { return this; } }
void main() { S!(int, 1) m; m = m * m; }

Error: 'm' is not of arithmetic type, it is a Matrix!(int,1)
Error: 'm' is not of arithmetic type, it is a Matrix!(int,1)

Oh fantastic, so you are writing the first bug-free software of our time?

Reply via email to