"Andrej Mitrovic" wrote in message
news:[email protected]...
Old-style operator overloads (such as opCom, opAnd, etc) have largely been
superseded by new-style templated operator overloads (opUnary, opBinary,
etc).
I prefer the old ones mainly because the names are better and the code
easier to read. When you are implementing one operator per function (ie
most of the time) the extra template syntax is just unnecessary noise.
T opMul(T other)
vs
T opBinary(string op : "*")(T other)
The old names were chosen to match what the operations were supposed to be,
not for the syntax. In that regard the new syntax is a step backwards.