Y
Hacker News
new
|
ask
|
show
|
jobs
by
leni536
60 days ago
> The XOR trick is only cool in its undefined-behavior form:
> a^=b^=a^=b;
I believe this is defined in C++ since C++17, but still undefined in C.