"Peter Alexander" <[email protected]> wrote in message 
news:[email protected]...

> Perhaps the loop variable should be implicitly const so that this type of 
> thing won't happen?

Making it const would break heaps of valid use cases.  It should probably be 
an rvalue, and so should the index.  I think there's a discussion about this 
burried somewhere in bugzilla. 


Reply via email to