diff options
author | François Dumont <fdumont@gcc.gnu.org> | 2024-02-14 06:59:12 +0100 |
---|---|---|
committer | François Dumont <fdumont@gcc.gnu.org> | 2024-02-17 15:08:01 +0100 |
commit | 9739d7ebf05aefcdd85477900528d8bee69df215 (patch) | |
tree | 8274f75060308fdb69ace83f5ae1aaa24769e202 /gcc | |
parent | 76aac40f5ecbc9cfb3b8734d181599e1b5a24bdf (diff) | |
download | gcc-9739d7ebf05aefcdd85477900528d8bee69df215.zip gcc-9739d7ebf05aefcdd85477900528d8bee69df215.tar.gz gcc-9739d7ebf05aefcdd85477900528d8bee69df215.tar.bz2 |
libstdc++: [_GLIBCXX_DEBUG] Fix std::__niter_base behavior
std::__niter_base is used in _GLIBCXX_DEBUG mode to remove _Safe_iterator<>
wrapper on random access iterators. But doing so it should also preserve original
behavior to remove __normal_iterator wrapper.
libstdc++-v3/ChangeLog:
* include/bits/stl_algobase.h (std::__niter_base): Redefine the overload
definitions for __gnu_debug::_Safe_iterator.
* include/debug/safe_iterator.tcc (std::__niter_base): Adapt declarations.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions