Restrict Class Properties?

Jarrett Billingsley kb3ctd2 at yahoo.com
Mon Feb 12 17:44:01 PST 2007


"Manfred Nowak" <svv1999 at hotmail.com> wrote in message 
news:eqqf9c$8nk$1 at digitalmars.com...

> It is surprising because the left side of an assignment must have
> special properties. So special, that those properties have been
> attributed with the name "lvalue", for "left value of assignment".
>
> D mixes this up: something that appears to be an assignment has no
> rvalue, but its "left value" on the right part of the assignment.
>
> If the "=" call notation would be disallowed for out and inout
> parameters, that lvalue, rvalue convention would be held up.

If the '=' call notation were dumped entirely in favor of real properties, a 
whole bunch of issues (this included) would just go away.  Sigh... 





More information about the Digitalmars-d mailing list