Stephan T. Lavavej
bfdc562d0c
[libc++] Fix copy-paste damage in ranges::rotate_copy
and its test ( #74544 )
...
Found while running libc++'s tests with MSVC's STL.
`ranges::rotate_copy` takes `forward_iterator`s as this test's comment
banner correctly depicts. However, this test had bogus assertions
expecting that `ranges::rotate_copy` would be constrained away for
not-quite-**bidi** iterators. @philnik777 confirmed that these were
copy-paste relics from the `ranges::reverse_copy` test.
I fixed this by replacing the assertions with the test types that aren't
quite **forward** iterators/ranges. Additionally, I noticed that the
top-level `test()` function was missing coverage with the weakest
possible `forward_iterator<int*>`.
This revealed that the product code in `ranges_rotate_copy.h` was
similarly damaged. In addition to fixing it by taking `forward_iterator`
and `forward_range` as depicted in the Standard, this drops the
inclusion of `<__iterator/reverse_iterator.h>` as this algorithm doesn't
need `std::__reverse_range`.
2023-12-06 02:29:09 -08:00
..
2023-11-23 13:55:55 -05:00
2023-07-06 17:21:08 +00:00
2023-04-29 20:41:42 -07:00
2023-12-04 10:25:14 -05:00
2023-12-04 10:25:14 -05:00
2023-12-05 11:19:15 -05:00
2023-12-04 10:25:14 -05:00
2023-11-23 13:55:55 -05:00
2023-07-06 16:46:34 -04:00
2023-12-04 10:25:14 -05:00
2023-06-30 13:48:16 -07:00
2023-12-05 11:19:15 -05:00
2023-12-04 10:25:14 -05:00
2023-12-04 10:25:14 -05:00
2023-10-06 22:58:41 +02:00
2023-06-19 09:05:14 -04:00
2023-12-05 11:19:15 -05:00
2023-12-05 11:19:15 -05:00
2023-12-05 11:19:15 -05:00
2023-02-13 13:21:25 +01:00
2023-12-05 11:19:15 -05:00
2023-12-04 10:25:14 -05:00
2023-12-04 10:25:14 -05:00
2023-12-04 10:25:14 -05:00
2023-12-05 11:19:15 -05:00
2023-05-31 18:15:20 -07:00
2023-11-14 23:55:24 +01:00
2023-12-05 11:19:15 -05:00
2023-12-04 10:25:14 -05:00
2023-12-04 10:25:14 -05:00
2023-02-15 16:52:25 +01:00
2023-02-15 16:52:25 +01:00
2023-02-15 16:52:25 +01:00
2023-02-15 16:52:25 +01:00
2023-02-15 16:52:25 +01:00
2023-07-06 17:21:08 +00:00
2023-06-06 13:58:52 -07:00
2023-12-05 11:19:15 -05:00
2023-12-05 11:19:15 -05:00
2023-12-05 11:19:15 -05:00
2023-07-06 17:21:08 +00:00
2023-12-05 11:19:15 -05:00
2023-12-05 11:19:15 -05:00
2023-12-04 10:25:14 -05:00
2023-09-01 17:52:31 -07:00
2023-05-18 15:37:28 -07:00
2023-12-05 11:19:15 -05:00
2023-06-19 09:05:14 -04:00
2023-07-06 17:21:08 +00:00
2023-11-06 21:19:49 -10:00
2023-12-05 11:19:15 -05:00
2023-12-05 11:19:15 -05:00
2023-12-05 11:19:15 -05:00
2023-12-05 11:19:15 -05:00
2023-02-15 16:52:25 +01:00
2023-12-05 11:19:15 -05:00
2023-06-06 13:58:52 -07:00
2023-12-04 10:25:14 -05:00
2023-12-04 10:25:14 -05:00
2023-12-04 10:25:14 -05:00
2023-10-27 11:07:12 +02:00
2023-12-05 11:19:15 -05:00
2023-12-04 10:25:14 -05:00
2023-12-05 11:19:15 -05:00
2023-12-05 11:19:15 -05:00
2023-12-05 11:19:15 -05:00
2023-12-05 11:19:15 -05:00
2023-12-04 10:25:14 -05:00
2023-07-06 17:21:08 +00:00
2023-12-05 11:19:15 -05:00
2023-10-06 23:01:30 +02:00
2023-11-28 16:02:18 -05:00
2023-10-06 23:01:30 +02:00
2023-10-06 23:01:30 +02:00
2023-11-28 16:02:18 -05:00
2023-10-06 23:01:30 +02:00
2023-10-06 23:01:30 +02:00
2023-10-06 23:01:30 +02:00
2023-10-04 18:12:39 -04:00
2023-10-06 23:01:30 +02:00
2023-10-06 23:01:30 +02:00
2023-10-06 23:01:30 +02:00
2023-11-27 00:14:59 +01:00
2023-10-06 23:01:30 +02:00
2023-11-27 00:14:59 +01:00
2023-10-06 23:01:30 +02:00
2023-10-06 23:01:30 +02:00
2023-10-06 23:01:30 +02:00
2023-07-06 17:21:08 +00:00
2023-09-05 16:19:49 -07:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-11-01 10:43:05 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-10-06 22:58:41 +02:00
2023-09-18 11:56:10 -07:00
2023-11-11 08:24:19 -10:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-11-06 21:19:49 -10:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-07-02 16:56:32 +02:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-02-15 16:52:25 +01:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-11-06 21:19:49 -10:00
2023-11-06 21:19:49 -10:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-28 15:10:31 -07:00
2023-06-19 11:19:51 -04:00
2023-06-28 15:10:31 -07:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-02-15 16:52:25 +01:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-11-06 21:19:49 -10:00
2023-06-19 11:19:51 -04:00
2023-11-06 21:19:49 -10:00
2023-06-19 11:19:51 -04:00
2023-11-06 21:19:49 -10:00
2023-06-19 11:19:51 -04:00
2023-11-06 21:19:49 -10:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-12-06 02:29:09 -08:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-05-15 11:35:30 -07:00
2023-06-19 11:19:51 -04:00
2023-06-19 11:19:51 -04:00
2023-06-27 10:52:08 -07:00
2023-06-19 11:19:51 -04:00
2023-11-06 21:19:49 -10:00
2023-12-04 10:25:14 -05:00
2023-12-04 10:25:14 -05:00
2023-12-05 11:19:15 -05:00
2023-12-05 11:19:15 -05:00
2023-12-04 10:25:14 -05:00
2023-12-04 10:25:14 -05:00
2023-12-04 10:25:14 -05:00
2023-12-04 10:25:14 -05:00
2023-12-04 10:25:14 -05:00
2023-12-04 10:25:14 -05:00
2023-12-05 11:19:15 -05:00
2023-12-05 11:19:15 -05:00
2023-12-05 11:19:15 -05:00
2023-05-18 15:37:28 -07:00
2023-12-04 10:25:14 -05:00
2023-06-06 13:58:52 -07:00
2023-06-06 13:58:52 -07:00
2023-06-06 13:58:52 -07:00
2023-06-06 13:58:52 -07:00
2023-12-05 11:19:15 -05:00
2023-12-05 11:19:15 -05:00
2023-06-29 14:49:51 -07:00
2023-12-05 11:19:15 -05:00
2023-06-06 13:58:52 -07:00
2023-09-01 17:52:31 -07:00
2023-12-05 11:19:15 -05:00
2023-12-05 11:19:15 -05:00
2023-12-04 10:25:14 -05:00
2023-11-08 09:10:00 -10:00
2023-12-04 10:25:14 -05:00
2023-02-15 16:52:25 +01:00
2022-11-22 16:33:38 +08:00
2022-11-22 16:33:38 +08:00
2023-07-06 17:21:08 +00:00
2023-10-04 11:23:36 +02:00
2023-07-06 17:21:08 +00:00