[PATCH][libstdc++-v3 parallel mode] Enable user-defined swap
Johannes Singler
singler@kit.edu
Fri Feb 11 10:12:00 GMT 2011
On 01/24/2011 06:07 PM, Johannes Singler wrote:
> The following patch enables user-defined swap for parallel sorting
> and the like, which can improve performance.
There was still one "using std::swap" missing.
Tested x86_64-unknown-linux-gnu: No regressions
Committed to mainline as obvious.
2011-02-11 Johannes Singler <singler@kit.edu>
PR libstdc++/47433
* include/parallel/losertree.h
(_LoserTreeUnguarded<>::__delete_min_insert):
Add missing "using std::swap;", as for other variants.
Johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: using_swap.patch
Type: text/x-patch
Size: 444 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20110211/2ea43d6c/attachment.bin>
More information about the Libstdc++
mailing list