OSDN Git Service

2009-08-24 Chris Jefferson <chris@bubblescope.net>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Aug 2009 14:07:34 +0000 (14:07 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Aug 2009 14:07:34 +0000 (14:07 +0000)
commit12d19573453bd32d537a3952837a326c9a56f2ce
tree19f0bd36e26f8d4cf25a4a9abc187e5018a185ad
parent23f19d1b5b4084f37d0273c8355424e99a180d4d
2009-08-24  Chris Jefferson  <chris@bubblescope.net>

* include/stl_algo.h (__unguarded_partition_pivot,
__move_median_first): New.
(__insertion_sort, __unguarded_insertion_sort): Adjust for move-only
types.
(__unguarded_linear_insert): Assume always inserting value at __last.
(__unguarded_partition): Take pivot by reference.
(__introsort_loop, __introselect) : Use __unguarded_partition_pivot.
* testsuite/25_algorithms/nth_element/moveable.cc : Enable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151055 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algo.h
libstdc++-v3/testsuite/25_algorithms/nth_element/moveable.cc