Searched refs:ComparableSentinel (Results 1 – 1 of 1) sorted by relevance
27 struct ComparableSentinel { struct32 explicit ComparableSentinel() = default; argument33 constexpr explicit ComparableSentinel(const Iter& it) : iter_(it) {} in ComparableSentinel() function35 …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()