Searched refs:zstring_sentinel (Results 1 – 2 of 2) sorted by relevance
445 struct zstring_sentinel {}; struct447 bool operator==(const char* p, zstring_sentinel) { return *p == '\0'; } in operator ==() argument448 bool operator!=(const char* p, zstring_sentinel) { return *p != '\0'; } in operator !=() argument453 auto end() const -> zstring_sentinel { return {}; } in end()
545 struct zstring_sentinel {};546 bool operator==(const char* p, zstring_sentinel) { return *p == '\0'; }547 bool operator!=(const char* p, zstring_sentinel) { return *p != '\0'; }552 zstring_sentinel end() const { return {}; }