llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_replace
Louis Dionne 4a47ac7d51 [libc++] Remove incorrect default constructor in cpp17_input_iterator
AFAICT, Cpp17InputIterators are not required to be default constructible,
since that requirement is added in Cpp17ForwardIterator. Hence, our
archetype for Cpp17InputIterator should not be default constructible.
Removing that constructor has a ripple effect on a couple of tests that
were making incorrect assumptions. Notably:

- Some tests were using cpp17_input_iterator as a sentinel for itself.
  That is not valid, because a cpp17_input_iterator is not semiregular
  anymore after the change (and hence it doesn't satisfy sentinel_for).

- Some tests were using a stride-counted cpp17_input_iterator as the
  sentinel for a range. This doesn't work anymore because of the problem
  above, so these tests were changed not to check stride counts for
  input iterators.

- Some tests were default constructing cpp17_input_iterator when a simple
  alternative was available -- those have been changed to use that alternative.

Differential Revision: https://reviews.llvm.org/D115806
2022-01-04 14:33:51 -05:00
..
iter_iter_initializer_list.pass.cpp
iter_iter_iter_iter.pass.cpp [libc++] Remove incorrect default constructor in cpp17_input_iterator 2022-01-04 14:33:51 -05:00
iter_iter_pointer.pass.cpp
iter_iter_pointer_size.pass.cpp
iter_iter_size_char.pass.cpp
iter_iter_string.pass.cpp
iter_iter_string_view.pass.cpp
size_size_T_size_size.pass.cpp
size_size_pointer.pass.cpp
size_size_pointer_size.pass.cpp
size_size_size_char.pass.cpp
size_size_string.pass.cpp
size_size_string_size_size.pass.cpp
size_size_string_view.pass.cpp