On Friday, January 20, 2012 15:13:51 Alvaro wrote:
> Well, there is the case of std::map and its [] operator which adds an
> element if it does not exist. Even if in the right hand side:
> 
> a = map[x]; // modifies map if x was not found in it
> 
> Maybe Marco is talking about something like that.

Maybe. It's certainly a pretty horrible design decision IMHO, and it's not 
something that should be emulated.

- Jonathan M Davis

Reply via email to