re PR libstdc++/50119 ([C++0x] copy_n advances InputIterator one more time than neces...
authorPaolo Carlini <paolo@gcc.gnu.org>
Thu, 18 Aug 2011 16:32:23 +0000 (16:32 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 18 Aug 2011 16:32:23 +0000 (16:32 +0000)
commit6ba30237b918e2d8c35bf481767ccd525499625e
treef55f3e9a1fac35f32e7847001fe076ec7532f81c
parentdf385b9c2b6e05ec699eba7fbf8fc958a17f7a03
re PR libstdc++/50119 ([C++0x] copy_n advances InputIterator one more time than necessary)

2011-08-18  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/50119
* include/bits/stl_algo.h (__copy_n(_InputIterator, _Size,
_OutputIterator, input_iterator_tag)): Fix.
* testsuite/25_algorithms/copy_n/50119.cc: New.

From-SVN: r177871
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algo.h
libstdc++-v3/testsuite/25_algorithms/copy_n/50119.cc [new file with mode: 0644]