llvm-project/libcxx/include/__iterator
Nikolas Klauser fb3477a4da [libc++] Unwrap reverse_iterator<reverse_iterator<Iter>> in __unwrap_iter
Simplify the implementation of `std::copy` and `std::move` by using `__unwrap_iter` and `__rewrap_iter` to unwrap and rewrap `reverse_iterator<reverse_iterator<Iter>>` instead of specializing `__copy_impl` and `__move_impl`.

Reviewed By: ldionne, #libc

Spies: wenlei, libcxx-commits

Differential Revision: https://reviews.llvm.org/D127049
2022-06-17 18:47:18 +02:00
..
access.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
advance.h [libc++] Fix std::lower_bound with C++20-hostile iterators 2022-06-13 12:19:28 +02:00
back_insert_iterator.h [libc++] Adds back_insert_iterator::__get_container. 2022-04-08 17:13:50 +02:00
common_iterator.h [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00
concepts.h [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00
counted_iterator.h [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00
data.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
default_sentinel.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
distance.h [libc++] Fix std::lower_bound with C++20-hostile iterators 2022-06-13 12:19:28 +02:00
empty.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
erase_if_container.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
front_insert_iterator.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
incrementable_traits.h [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00
indirectly_comparable.h [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00
insert_iterator.h [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00
istream_iterator.h [libc++][NFC] Add missing includes 2022-06-06 12:58:23 -04:00
istreambuf_iterator.h [libc++] Add `explicit` to a bunch of internal detail ctors. 2022-03-01 14:37:06 -05:00
iter_move.h [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00
iter_swap.h [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00
iterator.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
iterator_traits.h [libc++] Remove uses of __two in type_traits 2022-06-10 19:56:59 +02:00
mergeable.h [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00
move_iterator.h [libc++][NFC] Add more tests to `move_{iterator,sentinel}`. 2022-05-24 19:56:12 -07:00
move_sentinel.h [libc++][NFC] Add more tests to `move_{iterator,sentinel}`. 2022-05-24 19:56:12 -07:00
next.h [libc++] Avoid a Microsoft SAL macro. 2022-05-05 20:08:33 +02:00
ostream_iterator.h [libc++][NFC] Add missing includes 2022-06-06 12:58:23 -04:00
ostreambuf_iterator.h [libc++][NFC] Add missing includes 2022-06-06 12:58:23 -04:00
permutable.h [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00
prev.h [libc++] Avoid a Microsoft SAL macro. 2022-05-05 20:08:33 +02:00
projected.h [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00
readable_traits.h [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00
reverse_access.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
reverse_iterator.h [libc++] Unwrap reverse_iterator<reverse_iterator<Iter>> in __unwrap_iter 2022-06-17 18:47:18 +02:00
size.h [libc++] Define _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER whenever we enable warnings in the test suite 2022-03-15 17:17:54 -04:00
sortable.h [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00
unreachable_sentinel.h [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00
wrap_iter.h [libc++] Make the Debug mode a configuration-time only option 2022-06-07 16:33:53 -04:00