------- Comment #2 from paolo dot carlini at oracle dot com 2010-04-28 09:09 ------- Likely, something is broken in your installation, this problem cannot be reproduced in a sane installation of 4.5.0 or mainline. Note that the std::swap overload for std::pair takes *lvalue* references.
-- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WORKSFORME http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43917