Steven Schveighoffer wrote:
On Mon, 11 May 2009 08:20:07 -0400, Manfred Nowak <[email protected]> wrote:Michel Fortin wrote:arra[i++] = arrb[j]; // how can the compiler issue an error for this?assert( &i != &j); -manfredThat is not a compiler error, it is an inserted runtime error.
Besides, it's just a particular case. Generally you can't tell modularly whether two expressions change the same variable.
Andrei
