------- Comment #4 from redi at gcc dot gnu dot org 2010-04-28 18:40 ------- No, that's not what pair::swap looks like in 4.5.0, your installation is broken. This is what I have in 4.5.0
void swap(pair& __p) { using std::swap; swap(first, __p.first); swap(second, __p.second); } Somehow you have a header from 4.4 in your 4.5 tree, or you have been manually messing with headers -- redi at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WORKSFORME http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43917