assignment to this

Jarrett Billingsley kb3ctd2 at yahoo.com
Tue Jul 17 13:44:30 PDT 2007


"Ender KaShae" <astrothayne at gmail.com> wrote in message 
news:f7j521$1dnc$1 at digitalmars.com...
>
> since my idea of assigning to this fell through I am wondering if there is 
> another way that I can give an immutable type opPostInc, opAddAssign, etc. 
> without altering all references to it.  any ideas?

Even if assigning to this did work, it wouldn't solve that problem.  'this' 
is just another local parameter to a member function. 




More information about the Digitalmars-d-learn mailing list