This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/47433] libstdc++ parallel mode calls std::swap explicitely
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Jan 2011 13:10:50 +0000
- Subject: [Bug libstdc++/47433] libstdc++ parallel mode calls std::swap explicitely
- Auto-submitted: auto-generated
- References: <bug-47433-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47433
--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-01-24 13:10:43 UTC ---
I don't think it is. I can double check later.
Also, in losertree.h most uses involve built-in types (like bool or int) or
pointers, and those are also fine.
Beyond the issue discussed here, however, I'm not sure to understand the logic
behind the __delete_min_insert members taking _Tp by *value* instead of
constant ref. Johannes, are we sure we want those copies?