Restrict Class Properties?
Manfred Nowak
svv1999 at hotmail.com
Mon Feb 12 11:30:53 PST 2007
BCS wrote
> Um, why not? Why is this a bad thing?
I do not say that it is bad, just surprising.
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.
-manfred
More information about the Digitalmars-d
mailing list