[multiple changes]
authorPaolo Carlini <paolo@gcc.gnu.org>
Wed, 9 Mar 2011 18:30:11 +0000 (18:30 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 9 Mar 2011 18:30:11 +0000 (18:30 +0000)
commit60c5236ed15a2461aa9f7a12a6db329a2ff03528
tree495b5d52a3e445f1c4f2f20a48bddbe219fc335c
parent3a8face47ee8bb94a50a98a0cfb5c5fd6292e58c
[multiple changes]

2011-03-09  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/util/testsuite_rvalref.h: Minor tweaks.

2011-03-09  Jonathan Wakely  <redi@gcc.gnu.org>
    Chris Jefferson  <chris@bubblescope.net>
    Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
New.
* testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
Likewise.
* testsuite/25_algorithms/partial_sort/check_compare_by_value:
Likewise.
* testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
Likewise.
* testsuite/25_algorithms/sort/check_compare_by_value: Likewise.

2011-03-09  Chris Jefferson  <chris@bubblescope.net>

PR libstdc++/48038
* include/bits/stl_algo.h (__merge_backward): Rename to
__move_merge_backward and change to always move rather than copy.
(__move_merge): New function similar to std::merge except values
are moved instead of copied.
(__merge_adaptive, __merge_sort_loop): Change from using std::merge
and __merge_backward to __move_merge and __move_merge_backward.

From-SVN: r170827
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algo.h
libstdc++-v3/testsuite/25_algorithms/partial_sort/check_compare_by_value.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/sort/check_compare_by_value.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/sort_heap/check_compare_by_value.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/stable_sort/check_compare_by_value.cc [new file with mode: 0644]
libstdc++-v3/testsuite/util/testsuite_rvalref.h