OSDN Git Service

2007-10-27 Paolo Carlini <pcarlini@suse.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Oct 2007 12:07:04 +0000 (12:07 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 27 Oct 2007 12:07:04 +0000 (12:07 +0000)
commit0960c06de74c8d5435dd08461caa19370382b459
tree22379fedfe306c07b89fe272bd7364535a6e0f33
parentc1d5dc553b305144ce2aae4bdbf861a542cf3eda
2007-10-27  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algobase.h (struct __miter_base): Add.
(__copy_move_a2, __copy_move_backward_a2): Add.
(copy, copy_backward, move, move_backward): Adjust, call *a2 helpers.
* include/bits/cpp_type_traits.h (struct __is_move_iterator): Add.
* include/bits/streambuf_iterator.h (__copy_move_a<>): Rename
to __copy_move_a2.
* include/std/streambuf (friend __copy_move_a<>): Likewise.
* testsuite/25_algorithms/copy/move_iterators/1.cc: New.
* testsuite/25_algorithms/copy_backward/move_iterators/1.cc: Likewise.

* include/bits/stl_iterator.h (__normal_iterator<>::_Iterator_type):
Rename to iterator_type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129678 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/cpp_type_traits.h
libstdc++-v3/include/bits/stl_algobase.h
libstdc++-v3/include/bits/stl_iterator.h
libstdc++-v3/include/bits/streambuf_iterator.h
libstdc++-v3/include/std/streambuf
libstdc++-v3/testsuite/25_algorithms/copy/move_iterators/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/copy_backward/move_iterators/1.cc [new file with mode: 0644]