diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-10-19 17:04:59 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-10-19 17:04:59 +0000 |
| commit | 43356e9370933c52e09fa4d63db50a968f813a30 (patch) | |
| tree | e051d19e5b8a4a223957782a1cae73c554c01892 /libstdc++-v3/include/std/streambuf | |
| parent | b35a8f4864f6fdabc2a47ad3c650248bbc6a4be7 (diff) | |
| download | ppe42-gcc-43356e9370933c52e09fa4d63db50a968f813a30.tar.gz ppe42-gcc-43356e9370933c52e09fa4d63db50a968f813a30.zip | |
2007-10-19 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algobase.h (struct __cm_assign,
struct __copy_move, struct __copy_move_backward, move,
move_backward): Add.
(struct __copy, struct __copy_backward): Remove.
(__copy_aux, __copy_backward_aux): Rename to...
(__copy_move_a, __copy_move_backward_a): ... this, and
adjust calls.
(copy, copy_backward): Adjust calls.
* include/bits/streambuf_iterator.h (__copy_aux): Rename
to ...
(__copy_move_a): ... this; add bool template parameter.
* include/std/streambuf: Adjust friend declarations.
* testsuite/util/testsuite_iterators.h
(WritableObject<>::operator=(U&&)): Add.
* testsuite/25_algorithms/move/1.cc: New.
* testsuite/25_algorithms/move/requirements/
explicit_instantiation/2.cc: Likewise.
* testsuite/25_algorithms/move/requirements/
explicit_instantiation/pod.cc: Likewise.
* testsuite/25_algorithms/move_backward/1.cc: Likewise.
* testsuite/25_algorithms/move_backward/requirements/
explicit_instantiation/2.cc: Likewise.
* testsuite/25_algorithms/move_backward/requirements/
explicit_instantiation/pod.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129492 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std/streambuf')
| -rw-r--r-- | libstdc++-v3/include/std/streambuf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/include/std/streambuf b/libstdc++-v3/include/std/streambuf index 5e710377ab4..6402e40d7c8 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<typename _CharT2> + template<bool _IsCopy, typename _CharT2> friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, _CharT2*>::__type - __copy_aux(istreambuf_iterator<_CharT2>, - istreambuf_iterator<_CharT2>, _CharT2*); + __copy_move_a(istreambuf_iterator<_CharT2>, + istreambuf_iterator<_CharT2>, _CharT2*); template<typename _CharT2> friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, |

