stl_algobase.h (__niter_wrap): New.
authorFrançois Dumont <fdumont@gcc.gnu.org>
Tue, 3 Jul 2018 15:50:12 +0000 (15:50 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Tue, 3 Jul 2018 15:50:12 +0000 (15:50 +0000)
commit315aadc8642b72fc2d7172312a35e18074cca85b
tree0af852f841a69ce2a390843c5613726ce3f0ff76
parent42a98b43bbd3faf452545871daa49d155dfd03e2
stl_algobase.h (__niter_wrap): New.

2018-07-03  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/stl_algobase.h (__niter_wrap): New.
(__copy_move_a2(_II, _II, _OI)): Use latter.
(__copy_move_backward_a2(_BI1, _BI1, _BI2)): Likewise.
(fill_n(_OI, _Size, const _Tp&)): Likewise.
(equal(_II1, _II1, _II2)): Use __glibcxx_requires_can_increment.
* include/debug/stl_iterator.h
(std::__niter_base(const __gnu_cxx::_Safe_iterator<
__gnu_cxx::__normal_iterator<>, _Sequence>&)): New declaration.
* include/debug/vector (__niter_base(const __gnu_cxx::_Safe_iterator<
__gnu_cxx::__normal_iterator<>, _Sequence>&)): New.

From-SVN: r262349
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algobase.h
libstdc++-v3/include/debug/stl_iterator.h
libstdc++-v3/include/debug/vector