[Bug libstdc++/38466] std::swap does not use std::swap for the components of a std::pair

bartoschek at gmx dot de gcc-bugzilla@gcc.gnu.org
Wed Dec 10 16:19:00 GMT 2008



------- Comment #5 from bartoschek at gmx dot de  2008-12-10 16:17 -------
Created an attachment (id=16874)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16874&action=view)
Proposed implementation of std::swap

Here is a proposal on how std::swap could be improved for std::pair.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38466



More information about the Gcc-bugs mailing list