diff options
author | François Dumont <fdumont@gcc.gnu.org> | 2019-10-06 15:29:04 +0000 |
---|---|---|
committer | François Dumont <fdumont@gcc.gnu.org> | 2019-10-06 15:29:04 +0000 |
commit | 8ab38f6cbc16025515571cd40f0f0d872d39c5ba (patch) | |
tree | 347b3844ba6d144b3295a26fef1558ee4bec7c25 /gcc | |
parent | 6e556303102ebadb15bf8b7b16f6693d8ffde371 (diff) | |
download | gcc-8ab38f6cbc16025515571cd40f0f0d872d39c5ba.zip gcc-8ab38f6cbc16025515571cd40f0f0d872d39c5ba.tar.gz gcc-8ab38f6cbc16025515571cd40f0f0d872d39c5ba.tar.bz2 |
Add std::copy_n istreambuf_iterator specialization
* include/bits/stl_algo.h
(__copy_n_a(_IIte, _Size, _OIte)): New.
(__copy_n_a(istreambuf_iterator<>, _Size, _CharT*)): New declaration.
(__copy_n(_IIte, _Size, _OIte, input_iterator_tag)): Adapt to use
latter.
* include/bits/streambuf_iterator.h (istreambuf_iterator<>): Declare
std::__copy_n_a friend.
(__copy_n_a(istreambuf_iterator<>, _Size, _CharT*)): New.
* testsuite/25_algorithms/copy_n/istreambuf_iterator/1.cc: New.
* testsuite/25_algorithms/copy_n/istreambuf_iterator/1_neg.cc: New.
* testsuite/25_algorithms/copy_n/istreambuf_iterator/2_neg.cc: New.
From-SVN: r276638
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions