Static operator overloads are possible why?

GilesBathgate gilesbathgate at gmail.com
Thu Jul 5 12:09:42 PDT 2007


> operators declared `static' can only access entities that are actual 
> parameters or declared `static' too. 

Exactly and since the lvalue is not a parameter then I cannot access it!

The language dosen't support what I want to do, and I am preposing it should because its very useful if not essential to be able to access the lvalue in an operator overload.



More information about the Digitalmars-d mailing list