Home
last modified time | relevance | path

Searched refs:ComparableSentinel (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/
H A Deq.pass.cpp27 struct ComparableSentinel { struct
32 explicit ComparableSentinel() = default; argument
33 constexpr explicit ComparableSentinel(const Iter& it) : iter_(it) {} in ComparableSentinel() argument
35 …constexpr friend bool operator==(const Iterator& i, const ComparableSentinel& s) { return base(i) … in operator ==()
37 constexpr friend bool operator==(const ConstIterator& i, const ComparableSentinel& s) { in operator ==()
47 constexpr auto end() { return ComparableSentinel<false>(Iterator(buffer_ + size_)); } in end()
48 constexpr auto end() const { return ComparableSentinel<true>(ConstIterator(buffer_ + size_)); } in end()