diff options
author | Konstantin Varlamov <varconst@apple.com> | 2022-02-15 16:59:16 -0800 |
---|---|---|
committer | Konstantin Varlamov <varconst@apple.com> | 2022-02-15 16:59:42 -0800 |
commit | 43bc1e5600344d54ad87eae9b1515e2fa5a9597e (patch) | |
tree | eecc249c4e938f38eaae8bbedf37d7f6635d2bf5 /llvm/lib/Bitstream/Reader/BitstreamReader.cpp | |
parent | 8ee83ffb6eb921ccf583ca5270d160b24bace16b (diff) | |
download | llvm-43bc1e5600344d54ad87eae9b1515e2fa5a9597e.zip llvm-43bc1e5600344d54ad87eae9b1515e2fa5a9597e.tar.gz llvm-43bc1e5600344d54ad87eae9b1515e2fa5a9597e.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Bitstream/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions