but that's dangerous practise, because like that a could overflow and produce unwanted results. and i'm not speaking of three lines but of people who can't code and produce extremely huge SLOCerz.

by the way, this one works without overflow (and might even be faster):

Code:
a ^= b;
b ^= a;
a ^= b;



so why not just create an inline function or a macro performing this task? if you need it often, this would make your code look more readable than by using a temporary variable.