No Access to lvalue in static operator overloads.

Giles Bathgate gilesbathgate at gmail.com
Wed Jul 4 04:49:38 PDT 2007


>  (maybe Test.oAddAssign(a,b); ?) 

I don't see whay it should be any different from existing operator overloads: http://www.digitalmars.com/d/operatoroverloading.html

unless you mean that because its a "special" static overload that it should have a different name to existing static operator overloads?
In that case you can tell the difference from the method signature, (so its like an overload overload if you know what I mean)




More information about the Digitalmars-d mailing list