aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/std/streambuf
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2007-10-27 12:07:04 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2007-10-27 12:07:04 +0000
commitf0112db9b3aa9f87bb4da7f52ca22a94b4ae04ec (patch)
tree22379fedfe306c07b89fe272bd7364535a6e0f33 /libstdc++-v3/include/std/streambuf
parent094a5fe2659e4bf82420bfe1cdb57cc799a37644 (diff)
downloadgcc-f0112db9b3aa9f87bb4da7f52ca22a94b4ae04ec.zip
gcc-f0112db9b3aa9f87bb4da7f52ca22a94b4ae04ec.tar.gz
gcc-f0112db9b3aa9f87bb4da7f52ca22a94b4ae04ec.tar.bz2
stl_algobase.h (struct __miter_base): Add.
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. From-SVN: r129678
Diffstat (limited to 'libstdc++-v3/include/std/streambuf')
-rw-r--r--libstdc++-v3/include/std/streambuf6
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/include/std/streambuf b/libstdc++-v3/include/std/streambuf
index 6402e40..b6ec825 100644
--- a/libstdc++-v3/include/std/streambuf
+++ b/libstdc++-v3/include/std/streambuf
@@ -155,11 +155,11 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
friend streamsize
__copy_streambufs_eof<>(__streambuf_type*, __streambuf_type*, bool&);
- template<bool _IsCopy, typename _CharT2>
+ template<bool _IsMove, typename _CharT2>
friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value,
_CharT2*>::__type
- __copy_move_a(istreambuf_iterator<_CharT2>,
- istreambuf_iterator<_CharT2>, _CharT2*);
+ __copy_move_a2(istreambuf_iterator<_CharT2>,
+ istreambuf_iterator<_CharT2>, _CharT2*);
template<typename _CharT2>
friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value,