[Bug libstdc++/38466] std::swap does not use std::swap for the components of a std::pair
chris at bubblescope dot net
gcc-bugzilla@gcc.gnu.org
Tue Dec 9 23:38:00 GMT 2008
------- Comment #1 from chris at bubblescope dot net 2008-12-09 23:30 -------
I agree with you, but unfortunatly the standard doesn't allow std::swap to be
defined for std::pair. Stupid I know.
C++0x does require that.
--
chris at bubblescope dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chris at bubblescope dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38466
More information about the Gcc-bugs
mailing list