diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-10-09 12:55:54 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-10-18 14:49:34 +0100 |
commit | 2608fcfe5fcff260d62379d8f74efb9be8df70f4 (patch) | |
tree | ebc4c0ff601652296baede4a57e9bdcdeb9fec95 /gcc/fortran/error.cc | |
parent | e69c2e212011f2bfa6f8c3748d902690b7a3639a (diff) | |
download | gcc-2608fcfe5fcff260d62379d8f74efb9be8df70f4.zip gcc-2608fcfe5fcff260d62379d8f74efb9be8df70f4.tar.gz gcc-2608fcfe5fcff260d62379d8f74efb9be8df70f4.tar.bz2 |
libstdc++: Move std::__niter_base and std::__niter_wrap to stl_iterator.h
Move the functions for unwrapping and rewrapping __normal_iterator
objects to the same file as the definition of __normal_iterator itself.
This will allow a later commit to make use of std::__niter_base in other
headers without having to include all of <bits/stl_algobase.h>.
libstdc++-v3/ChangeLog:
* include/bits/stl_algobase.h (__niter_base, __niter_wrap): Move
to ...
* include/bits/stl_iterator.h: ... here.
(__niter_base, __miter_base): Move all overloads to the end of
the header.
* testsuite/24_iterators/normal_iterator/wrapping.cc: New test.
Reviewed-by: Patrick Palka <ppalka@redhat.com>
Diffstat (limited to 'gcc/fortran/error.cc')
0 files changed, 0 insertions, 0 deletions