llvm-project/libcxx/test/std/iterators
Konstantin Varlamov 43bc1e5600 [libc++][ranges] Implement Ranges changes to `istream{,buf}_iterator`.
The changes from the One Ranges Proposal amount to adding:
- a constructor that takes a `default_sentinel_t` and is equivalent to
  the default constructor;
- an `operator==` that compares the iterator to `default_sentinel_t`.

The original proposal defined two overloads for `operator==` (different
argument order) as well as `operator!=`. This has been removed by
[P1614](https://wg21.link/p1614).

Differential Revision: https://reviews.llvm.org/D119620
2022-02-15 16:59:42 -08:00
..
iterator.container [libc++] Fix ssize test that made an assumption about ptrdiff_t being 'long' 2021-11-25 13:12:47 -05:00
iterator.primitives [libc++] Guard much of std::ranges under _LIBCPP_HAS_NO_INCOMPLETE_RANGES. 2022-02-15 10:38:21 -05:00
iterator.range [libc++] [test] Improve test coverage for std::{c,}{begin,end}. 2022-02-15 11:31:45 -05:00
iterator.requirements [libc++] Guard much of std::ranges under _LIBCPP_HAS_NO_INCOMPLETE_RANGES. 2022-02-15 10:38:21 -05:00
iterator.synopsis Support tests in freestanding 2019-02-04 20:31:13 +00:00
iterators.general [libc++] Remove useless nothing_to_do.pass.cpp tests 2020-04-03 13:48:34 -04:00
predef.iterators [libc++] Guard much of std::ranges under _LIBCPP_HAS_NO_INCOMPLETE_RANGES. 2022-02-15 10:38:21 -05:00
stream.iterators [libc++][ranges] Implement Ranges changes to `istream{,buf}_iterator`. 2022-02-15 16:59:42 -08:00