diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-10-10 22:47:46 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-10-11 17:04:56 +0100 |
commit | 01c4d1fe251896c25dee7902cf2922927ce4906e (patch) | |
tree | 4cb0a66a44cc9371573aa50f97ea1f00f25ac9ee /gcc/df-problems.cc | |
parent | 1dcc6a1a67165a469d4cd9b6b39514c46cc656ad (diff) | |
download | gcc-01c4d1fe251896c25dee7902cf2922927ce4906e.zip gcc-01c4d1fe251896c25dee7902cf2922927ce4906e.tar.gz gcc-01c4d1fe251896c25dee7902cf2922927ce4906e.tar.bz2 |
libstdc++: Rearrange std::move_iterator helpers in stl_iterator.h
The __niter_base(move_iterator<I>) overload and __is_move_iterator trait
were originally immediately after the definition of move_iterator. The
addition of C++20 features after move_iterator meant that those helpers
were no longer anywhere near move_iterator.
This change puts them back where they used to be, before all the new
C++20 additions.
libstdc++-v3/ChangeLog:
* include/bits/stl_iterator.h (__niter_base(move_iterator<I>))
(__is_move_iterator, __miter_base, _GLIBCXX_MAKE_MOVE_ITERATOR)
(_GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR): Move earlier in the
file.
Diffstat (limited to 'gcc/df-problems.cc')
0 files changed, 0 insertions, 0 deletions