Properties: a.b.c = 3
Rainer Deyke
rainerd at eldwood.com
Wed Jul 29 12:45:52 PDT 2009
Andrei Alexandrescu wrote:
> Ary Borenszweig wrote:
>> Not if b[5] is a struct. Do I need to list evey possible syntax there
>> it to get my point clear? :-(
>
> Yes, you actually need to. It was the point of my post.
Simple rule: rvalues cannot be modified (i.e. rvalues are implicitly
const). No need to list all situations that generate rvalues. Or does
that miss any cases?
--
Rainer Deyke - rainerd at eldwood.com
More information about the Digitalmars-d
mailing list