a[n++] = b[++n];
Hint: If you know what it does, you’re wrong.
kfsone · June 15, 2012 · Coding · c++, Coding, do not do · 3 Comments
John Taylor on Spread wide before installing… | |
Pro-tip: Write Pytho… on Python, the slow of the i… | |
Setsuna on C++0x lambdas suck | |
Jonathan Witty on Spread wide before installing… | |
Jonathan Witty on Spread wide before installing… | |
kfsone on Vested Interests | |
fsdfsdfsd on C++0x lambdas suck |
3 Comments
UB
Correct :)
Is it still undefined behavior if n is a class with overloaded ++ operators?