These tests fail due to a couple of changes to move_iterator for C++20:
- move_iterator<I>::operator++(int) returns void in C++20 if I doesn't model forward_iterator.
- move_iterator<I>::reference is calculated in C++20, so I must actually have an operator*() const.
clang-format: please reformat the code
-void -test_single_pass(It i, It x) -{ - std::move_iterator<It> r(std::move(i)); - r++; - assert(std::move(r).base() == x); +void test_single_pass(It i, It x) { + std::move_iterator<It> r(std::move(i)); + r++; + assert(std::move(r).base() == x);