]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Implement P2520R0 changes to move_iterator's iterator_concept
authorPatrick Palka <ppalka@redhat.com>
Tue, 14 Mar 2023 20:44:32 +0000 (16:44 -0400)
committerPatrick Palka <ppalka@redhat.com>
Tue, 14 Mar 2023 20:44:32 +0000 (16:44 -0400)
commit2b204accd07a3185b58b1edc6e9b019472857a5d
treeb96a290c4ea02a0282008a7c278edd3ebda064dc
parentf2e7dd8b023b8de30af608afd68e0ecefa5c1de6
libstdc++: Implement P2520R0 changes to move_iterator's iterator_concept

libstdc++-v3/ChangeLog:

* include/bits/stl_iterator.h (move_iterator::_S_iter_concept):
Define.
(__cpp_lib_move_iterator_concept): Define for C++20.
(move_iterator::iterator_concept): Strengthen as per P2520R0.
* include/std/version (__cpp_lib_move_iterator_concept): Define
for C++20.
* testsuite/24_iterators/move_iterator/p2520r0.cc: New test.
libstdc++-v3/include/bits/stl_iterator.h
libstdc++-v3/include/std/version
libstdc++-v3/testsuite/24_iterators/move_iterator/p2520r0.cc [new file with mode: 0644]
This page took 0.060894 seconds and 6 git commands to generate.