------- Additional Comments From gdr at integrable-solutions dot net 2005-06-30 13:19 ------- Subject: Re: New: Incorrect work with multiple assigment.
"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 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22248