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 - [email protected]

Reply via email to