This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
gcc/libstdc++-v3 ChangeLog.libstdcxx_so_7-bran ...
- From: paolo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org, libstdc++-cvs at gcc dot gnu dot org
- Date: 20 May 2005 15:08:49 -0000
- Subject: gcc/libstdc++-v3 ChangeLog.libstdcxx_so_7-bran ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: libstdcxx_so_7-branch
Changes by: paolo@gcc.gnu.org 2005-05-20 15:08:49
Modified files:
libstdc++-v3 : ChangeLog.libstdcxx_so_7-branch
libstdc++-v3/include/bits: stl_algo.h stl_heap.h
libstdc++-v3/testsuite: testsuite_rvalref.h
libstdc++-v3/testsuite/25_algorithms/remove_if: 1.cc
libstdc++-v3/testsuite/25_algorithms/swap_ranges: check_type.cc
libstdc++-v3/testsuite/25_algorithms/unique: moveable.cc
Added files:
libstdc++-v3/testsuite/25_algorithms/heap: heap.cc moveable.cc
libstdc++-v3/testsuite/25_algorithms/partition: moveable.cc
partition.cc
libstdc++-v3/testsuite/25_algorithms/remove: moveable.cc
libstdc++-v3/testsuite/25_algorithms/remove_if: moveable.cc
libstdc++-v3/testsuite/25_algorithms/reverse: moveable.cc
libstdc++-v3/testsuite/25_algorithms/rotate: moveable.cc
libstdc++-v3/testsuite/25_algorithms/swap_ranges: moveable.cc
Removed files:
libstdc++-v3/testsuite/25_algorithms: heap.cc partition.cc
Log message:
2005-20-05 Chris Jefferson <chris@bubblescope.net>
* include/bits/stl_algo.h (remove, remove_if): Make rvalref aware.
(__rotate(,,,forward_iterator_tag)): Make rvalref aware and convert
swap to iter_swap.
(__rotate(,,,bidirectional_iterator_tag)): Likewise.
(__rotate(,,,random_access_iterator_tag)): Make rvalref aware.
(__partition(,,,forward_iterator_tag)): Convert swap to iter_swap.
(partial_sort) : Remove parameter from __pop_heap.
* include/bits/stl_heap.h (__push_heap): Rearrange order of template
parameters, make rvalref aware.
(push_heap(,,_Compare)): Make rvalref aware.
(push_heap(,)): Likewise.
(__adjust_heap): Rearrange order of template parameters, make rvalref
aware.
(__pop_heap): Remove unnecessary parameter, make rvalref aware.
(pop_heap(,)): Remove parameter from __pop_heap.
(pop_heap(,,_Compare)): Likewise.
(make_heap): Make rvalref aware.
* testsuite/25_algorithms/heap.cc: Move to...
* testsuite/25_algorithms/heap/heap.cc: ...here.
* testsuite/25_algorithms/partition.cc: Move to...
* testsuite/25_algorithms/partition/partition.cc: ...here.
* testsuite/25_algorithms/heap/moveable.cc: New.
* testsuite/25_algorithms/partition/moveable.cc: New.
* testsuite/25_algorithms/remove/moveable.cc: New.
* testsuite/25_algorithms/remove_if/1.cc: Test correct function!
* testsuite/25_algorithms/remove_if/moveable.cc: New.
* testsuite/25_algorithms/reverse/moveable.cc: New.
* testsuite/25_algorithms/rotate/moveable.cc: New.
* testsuite/25_algorithms/swap_ranges/check_type.cc: Alter to pass
concept checks.
* testsuite/25_algorithms/swap_ranges/moveable.cc: New.
* testsuite/25_algorithms/unique/moveable.cc: Disable concept checks.
* testsuite/testsuite_rvalref.h (rvalstruct): Provide way to enable
copy constructor.
(rvalstruct::rvalstruct(int)): New.
(rvalstruct::operator=(int)): Add extra check.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.libstdcxx_so_7-branch.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.1.2.48&r2=1.1.2.49
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_algo.h.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.47.6.10&r2=1.47.6.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_heap.h.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.16.6.1&r2=1.16.6.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/testsuite_rvalref.h.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.1.2.2&r2=1.1.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/heap.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.4&r2=NONE
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/partition.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.3&r2=NONE
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/heap/heap.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/heap/moveable.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/partition/moveable.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/partition/partition.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/remove/moveable.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/remove_if/moveable.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/remove_if/1.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/reverse/moveable.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/rotate/moveable.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/swap_ranges/moveable.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/swap_ranges/check_type.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/unique/moveable.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.1.2.2&r2=1.1.2.3