"algorithmus at gmail dot com" <[EMAIL PROTECTED]> writes:

| ---new.cpp----
| #include<cstdio>
| 
| #define swap(a,b) a^=b^=a^=b

You're modifying objects more than once without intervening sequence
points.  All bets are off. There is a standard utility std::swap() from
<utility> that works all the time.
PR invalid.

-- Gaby

Reply via email to