Static operator overloads are possible why?

Giles Bathgate gilesbathgate at gmail.com
Sat Jun 30 02:46:28 PDT 2007


...That should have been

t ~= b;      Translates to Test.opCatAssign(b);

Where does t go.

Surely if opCatAssign is static then

t ~= b;     Translates to Test.opCatAssign(t,b);



More information about the Digitalmars-d mailing list