[libc++][test] Move `common_input_iterator` to `test_iterators.h`
authorJoe Loser <joeloser@fastmail.com>
Sun, 8 Jan 2023 22:07:19 +0000 (15:07 -0700)
committerJoe Loser <joeloser@fastmail.com>
Wed, 11 Jan 2023 00:15:04 +0000 (17:15 -0700)
commitcf9ee8791e8b64c46f16dea71345330d70a1deb3
tree0e531ea87e71ef46a7586b47e45cb3d6e475d81f
parentc8665b3d9abd249a0147e0c93a7f57987d79f35c
[libc++][test] Move `common_input_iterator` to `test_iterators.h`

There's a bit of duplication in use of `common_input_iterator` as noted in
https://reviews.llvm.org/D141216.  Lift `common_input_iterator` into
`test_iterators.h`.

Differential Revision: https://reviews.llvm.org/D141238
libcxx/test/std/ranges/range.adaptors/range.join.view/types.h
libcxx/test/std/ranges/range.adaptors/range.zip/types.h
libcxx/test/support/test_iterators.h