assignment to this

Jarrett Billingsley kb3ctd2 at
Wed Jul 18 04:50:06 PDT 2007

"Regan Heath" <regan at> wrote in message 
news:f7khch$tqs$1 at
> I agree with the OP tho, it should either work as you'd expect or error.

Assigning to 'this' if the aggregate has an overloaded opAssign is perfectly 
fine; but yes, I think that trying to reassign which instance 'this' points 
to should be an error. 

More information about the Digitalmars-d-learn mailing list