This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/47433] libstdc++ parallel mode calls std::swap explicitely


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

--- Comment #9 from Johannes Singler <singler at kit dot edu> 2011-01-24 13:55:33 UTC ---
I have made the attached minimal patch.  
Use std::iter_swap where possible, use swap for _Tp, and leave std::swap for
built-in types.  I will test and then submit the patch.

Johannes


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]