Searched defs:ThrowingSentinel (Results 1 – 1 of 1) sorted by relevance
54 struct ThrowingSentinel { struct55 friend bool operator==(const CharT*, ThrowingSentinel) noexcept { return true; } in operator ==() argument56 …friend std::iter_difference_t<const CharT*> operator-(const CharT*, ThrowingSentinel) noexcept { r… in operator -() argument57 …friend std::iter_difference_t<const CharT*> operator-(ThrowingSentinel, const CharT*) { throw 42; } in operator -() argument